From 04f189c276bfc866feba5a80d88882279080c5ec Mon Sep 17 00:00:00 2001 From: volodymyr Date: Thu, 5 Sep 2024 01:10:09 +0300 Subject: [PATCH 1/3] fix: fields caching deleted form create-flow-popup.vue [WTEL-5054] --- .../routing/modules/flow/components/create-flow-popup.vue | 1 + 1 file changed, 1 insertion(+) diff --git a/src/modules/routing/modules/flow/components/create-flow-popup.vue b/src/modules/routing/modules/flow/components/create-flow-popup.vue index 874fe5aa1..ebae048bc 100644 --- a/src/modules/routing/modules/flow/components/create-flow-popup.vue +++ b/src/modules/routing/modules/flow/components/create-flow-popup.vue @@ -124,6 +124,7 @@ export default { }, close() { this.$emit('close'); + this.initializeFields(); }, initializeFields() { [this.selected] = this.editorOptions; From 9aad78c8a2db4dd937cde9a47524fc18a4a39c62 Mon Sep 17 00:00:00 2001 From: volodymyr Date: Thu, 5 Sep 2024 14:12:16 +0300 Subject: [PATCH 2/3] refactor: refactor due to code review [WTEL-5054] --- .../flow/components/create-flow-popup.vue | 22 +++++++++++-------- 1 file changed, 13 insertions(+), 9 deletions(-) diff --git a/src/modules/routing/modules/flow/components/create-flow-popup.vue b/src/modules/routing/modules/flow/components/create-flow-popup.vue index ebae048bc..2e0142917 100644 --- a/src/modules/routing/modules/flow/components/create-flow-popup.vue +++ b/src/modules/routing/modules/flow/components/create-flow-popup.vue @@ -1,8 +1,8 @@