From 3e5c9f455b7264fc4c79cd889e4ce4430e9d9f74 Mon Sep 17 00:00:00 2001 From: volodymyr Date: Thu, 23 Nov 2023 14:13:54 +0200 Subject: [PATCH] refactor: comment added [WTEL-3894] --- src/modules/routing/modules/flow/components/opened-flow.vue | 1 + 1 file changed, 1 insertion(+) diff --git a/src/modules/routing/modules/flow/components/opened-flow.vue b/src/modules/routing/modules/flow/components/opened-flow.vue index b4bda5b37..791f31364 100644 --- a/src/modules/routing/modules/flow/components/opened-flow.vue +++ b/src/modules/routing/modules/flow/components/opened-flow.vue @@ -133,6 +133,7 @@ export default { await this.save(); this.hideSaveFailedPopup(); } catch (err) { + // Required to prevent an open popup when the error is related to "already existed name" this.isSaveFailedPopup = err.response?.data?.id !== 'store.sql_routing_schema.save.valid.name'; throw err; }