fix: replace showModal with closeModal for better modal handling #350

This commit is contained in:
Raj Nandan Sharma
2025-03-22 21:06:37 +05:30
parent ff652ad435
commit 7e182b1df2

View File

@@ -207,7 +207,7 @@
await addNewComment(resp.incident_id);
}
showModal = false;
closeModal();
}
} catch (error) {
invalidFormMessage = "Error while saving data";