From 17366f5e6e2cceb03f617a8ee9e12bd096d6beb3 Mon Sep 17 00:00:00 2001 From: liyasthomas Date: Thu, 26 Aug 2021 10:44:01 +0530 Subject: [PATCH] fix: sync modal --- components/http/Headers.vue | 10 +++++----- components/http/Parameters.vue | 10 +++++----- components/smart/ConfirmModal.vue | 7 ++++++- locales/en.json | 2 +- 4 files changed, 17 insertions(+), 12 deletions(-) diff --git a/components/http/Headers.vue b/components/http/Headers.vue index 98475e329..713197696 100644 --- a/components/http/Headers.vue +++ b/components/http/Headers.vue @@ -193,11 +193,11 @@ export default defineComponent({ deep: true, }, }, - mounted() { - if (!this.headers$?.length) { - this.addHeader() - } - }, + // mounted() { + // if (!this.headers$?.length) { + // this.addHeader() + // } + // }, methods: { addHeader() { addRESTHeader({ key: "", value: "", active: true }) diff --git a/components/http/Parameters.vue b/components/http/Parameters.vue index 9b12d415c..5f6c4c0bf 100644 --- a/components/http/Parameters.vue +++ b/components/http/Parameters.vue @@ -197,11 +197,11 @@ export default defineComponent({ deep: true, }, }, - mounted() { - if (!this.params$?.length) { - this.addParam() - } - }, + // mounted() { + // if (!this.params$?.length) { + // this.addParam() + // } + // }, methods: { addParam() { addRESTParam({ key: "", value: "", active: true }) diff --git a/components/smart/ConfirmModal.vue b/components/smart/ConfirmModal.vue index 4b9f0f0db..15df052d6 100644 --- a/components/smart/ConfirmModal.vue +++ b/components/smart/ConfirmModal.vue @@ -1,5 +1,10 @@