From 973f96c3c84133bd274c26d7aa3e0edbbf962fab Mon Sep 17 00:00:00 2001 From: Lera24 Date: Tue, 17 Dec 2024 12:06:40 +0200 Subject: [PATCH] fix:close conditions popup[WTEL-5687](https://webitel.atlassian.net/browse/WTEL-5687) --- .../conditions/components/opened-sla-condition-popup.vue | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/src/modules/configuration/modules/lookups/modules/slas/modules/conditions/components/opened-sla-condition-popup.vue b/src/modules/configuration/modules/lookups/modules/slas/modules/conditions/components/opened-sla-condition-popup.vue index 71525544..bee80f96 100644 --- a/src/modules/configuration/modules/lookups/modules/slas/modules/conditions/components/opened-sla-condition-popup.vue +++ b/src/modules/configuration/modules/lookups/modules/slas/modules/conditions/components/opened-sla-condition-popup.vue @@ -105,10 +105,8 @@ const save = async () => { await updateItem({ itemInstance, itemId: id.value }); } - if (id?.value) { close(); loadDataList(); - } }; async function initializePopup() { @@ -123,7 +121,7 @@ async function initializePopup() { } watch(() => conditionId.value, (value) => { - if(value) { + if (value) { initializePopup(); } else { resetState();