Open-Source API Development Ecosystem • https://hoppscotch.io • Offline, On-Prem & Cloud • Web, Desktop & CLI • Open-Source Alternative to Postman, Insomnia
TypeScript apiapi-clientapi-restapi-testingdeveloper-toolsgraphqlhttphttp-clientpwarestrest-apispatestingtesting-toolstoolsvuevuejswebsocket
fix: sync modal
liyasthomas17366f5e6e2c
diff --git a/components/http/Headers.vue b/components/http/Headers.vueindex 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.vueindex 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.vueindex 4b9f0f0db..15df052d6 100644--- a/components/smart/ConfirmModal.vue+++ b/components/smart/ConfirmModal.vue@@ -1,5 +1,10 @@<template>- <SmartModal v-if="show" :title="$t('modal.confirm')" @close="hideModal">+ <SmartModal+ v-if="show"+ dialog+ :title="$t('modal.confirm')"+ @close="hideModal"+ ><template #body><div class="flex flex-col px-2"><label>diff --git a/locales/en.json b/locales/en.jsonindex a617249ef..4639004cd 100644--- a/locales/en.json+++ b/locales/en.json@@ -116,7 +116,7 @@"remove_request": "Are you sure you want to permanently delete this request?","remove_team": "Are you sure you want to delete this team?","remove_telemetry": "Are you sure you want to opt-out of Telemetry?",- "sync": "Are you sure you want to sync this workspace?"+ "sync": "Would you like to restore your workspace from cloud? This will discard your local progress."},"count": {"header": "Header {count}",