fix: sync modal
This commit is contained in:
@@ -193,11 +193,11 @@ export default defineComponent({
|
|||||||
deep: true,
|
deep: true,
|
||||||
},
|
},
|
||||||
},
|
},
|
||||||
mounted() {
|
// mounted() {
|
||||||
if (!this.headers$?.length) {
|
// if (!this.headers$?.length) {
|
||||||
this.addHeader()
|
// this.addHeader()
|
||||||
}
|
// }
|
||||||
},
|
// },
|
||||||
methods: {
|
methods: {
|
||||||
addHeader() {
|
addHeader() {
|
||||||
addRESTHeader({ key: "", value: "", active: true })
|
addRESTHeader({ key: "", value: "", active: true })
|
||||||
|
|||||||
@@ -197,11 +197,11 @@ export default defineComponent({
|
|||||||
deep: true,
|
deep: true,
|
||||||
},
|
},
|
||||||
},
|
},
|
||||||
mounted() {
|
// mounted() {
|
||||||
if (!this.params$?.length) {
|
// if (!this.params$?.length) {
|
||||||
this.addParam()
|
// this.addParam()
|
||||||
}
|
// }
|
||||||
},
|
// },
|
||||||
methods: {
|
methods: {
|
||||||
addParam() {
|
addParam() {
|
||||||
addRESTParam({ key: "", value: "", active: true })
|
addRESTParam({ key: "", value: "", active: true })
|
||||||
|
|||||||
@@ -1,5 +1,10 @@
|
|||||||
<template>
|
<template>
|
||||||
<SmartModal v-if="show" :title="$t('modal.confirm')" @close="hideModal">
|
<SmartModal
|
||||||
|
v-if="show"
|
||||||
|
dialog
|
||||||
|
:title="$t('modal.confirm')"
|
||||||
|
@close="hideModal"
|
||||||
|
>
|
||||||
<template #body>
|
<template #body>
|
||||||
<div class="flex flex-col px-2">
|
<div class="flex flex-col px-2">
|
||||||
<label>
|
<label>
|
||||||
|
|||||||
@@ -116,7 +116,7 @@
|
|||||||
"remove_request": "Are you sure you want to permanently delete this request?",
|
"remove_request": "Are you sure you want to permanently delete this request?",
|
||||||
"remove_team": "Are you sure you want to delete this team?",
|
"remove_team": "Are you sure you want to delete this team?",
|
||||||
"remove_telemetry": "Are you sure you want to opt-out of Telemetry?",
|
"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": {
|
"count": {
|
||||||
"header": "Header {count}",
|
"header": "Header {count}",
|
||||||
|
|||||||
Reference in New Issue
Block a user