feat: show existing name while renaming collections/folders/requests - resolved #2006

This commit is contained in:
liyasthomas
2021-12-10 10:55:49 +05:30
parent dec26ce2aa
commit fe13de2ea0
9 changed files with 58 additions and 8 deletions

View File

@@ -38,13 +38,18 @@ import { defineComponent } from "@nuxtjs/composition-api"
export default defineComponent({
props: {
show: Boolean,
placeholderCollName: { type: String, default: null },
editingCollectionName: { type: String, default: null },
},
data() {
return {
name: null,
}
},
watch: {
editingCollectionName(val) {
this.name = val
},
},
methods: {
saveCollection() {
if (!this.name) {