fix: clean input value in modals - fixed #1662

This commit is contained in:
liyasthomas
2021-05-20 14:24:14 +05:30
parent ca5df588b7
commit c98de5988e
14 changed files with 55 additions and 27 deletions

View File

@@ -47,7 +47,7 @@ export default {
},
data() {
return {
name: undefined,
name: null,
}
},
methods: {
@@ -77,10 +77,11 @@ export default {
collectionIndex: this.$props.editingCollectionIndex,
flag: "graphql",
})
this.$emit("hide-modal")
this.syncCollections()
this.hideModal()
},
hideModal() {
this.name = null
this.$emit("hide-modal")
},
},