From 1019d61285d313e4b1d70e061728a053fa156cae Mon Sep 17 00:00:00 2001 From: acnormun Date: Wed, 8 May 2024 15:58:49 -0300 Subject: [PATCH] fix: loading save --- src/components/whatsAppTemplates/FormTabContent.vue | 2 +- src/components/whatsAppTemplates/FormTabs.vue | 1 + 2 files changed, 2 insertions(+), 1 deletion(-) diff --git a/src/components/whatsAppTemplates/FormTabContent.vue b/src/components/whatsAppTemplates/FormTabContent.vue index 4fbd92e1..e7e60a8e 100644 --- a/src/components/whatsAppTemplates/FormTabContent.vue +++ b/src/components/whatsAppTemplates/FormTabContent.vue @@ -192,7 +192,7 @@ .toLowerCase(); }); }, - beforeUnmount(){ + beforeUnmount() { this.resetTemplates(); }, computed: { diff --git a/src/components/whatsAppTemplates/FormTabs.vue b/src/components/whatsAppTemplates/FormTabs.vue index 29fcc5d6..2aaa03b4 100644 --- a/src/components/whatsAppTemplates/FormTabs.vue +++ b/src/components/whatsAppTemplates/FormTabs.vue @@ -373,6 +373,7 @@ } currentTemplateUuid = this.createdTemplateData.uuid; + this.loadingSave = false; } const translationPayload = this.buildPayload();