From a82373b8560b99a9377421c46b2b44e7ea595669 Mon Sep 17 00:00:00 2001 From: Erki Aas Date: Thu, 17 Nov 2022 14:46:21 +0200 Subject: [PATCH] Only close ExamineLogModal when clicked outside --- src/components/Modal/ExamineLogModal.vue | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/components/Modal/ExamineLogModal.vue b/src/components/Modal/ExamineLogModal.vue index 9ef27f3..12ed0c7 100644 --- a/src/components/Modal/ExamineLogModal.vue +++ b/src/components/Modal/ExamineLogModal.vue @@ -83,7 +83,7 @@ export default { params.api.sizeColumnsToFit() }, close (e) { - if (e.target.className !== "ag-cell-value") { + if (e.target.className === "v-overlay__scrim") { this.closeModal() } },