fix: validation for empty collection names
This commit is contained in:
@@ -56,6 +56,9 @@ export default {
|
||||
},
|
||||
methods: {
|
||||
addNewCollection() {
|
||||
if (this.$data.name !== undefined) {
|
||||
return;
|
||||
}
|
||||
this.$store.commit("postwoman/addNewCollection", {
|
||||
name: this.$data.name
|
||||
});
|
||||
|
||||
Reference in New Issue
Block a user