diff --git a/src/popup/App.vue b/src/popup/App.vue index 3096eb7..2b20a38 100644 --- a/src/popup/App.vue +++ b/src/popup/App.vue @@ -253,7 +253,7 @@ export default Vue.extend({ if (this.selectedPost) { const tagName = this.addTagInput; this.addTagInput = ""; - if (this.selectedPost.tags.find((x) => x.name == tagName) == undefined) { + if (tagName.length > 0 && this.selectedPost.tags.find((x) => x.name == tagName) == undefined) { this.selectedPost.tags.push(new ScrapedTag(tagName)); } }