diff --git a/components/collections/addCollection.vue b/components/collections/addCollection.vue index 7437e7999..9f0cc8139 100644 --- a/components/collections/addCollection.vue +++ b/components/collections/addCollection.vue @@ -56,7 +56,7 @@ export default { }, methods: { addNewCollection() { - if (this.$data.name !== undefined) { + if (!this.$data.name) { return; } this.$store.commit("postwoman/addNewCollection", {