fix: Remove article meta tag is not working (#8489)

This commit is contained in:
Sivin Varghese
2023-12-05 16:17:41 +05:30
committed by GitHub
parent 449503bb94
commit c1ac354c9b

View File

@@ -91,6 +91,7 @@
@search-change="handleSearchChange" @search-change="handleSearchChange"
@close="onBlur" @close="onBlur"
@tag="addTagValue" @tag="addTagValue"
@remove="removeTag"
/> />
</label> </label>
</div> </div>
@@ -203,6 +204,9 @@ export default {
this.metaTags.push(...this.formattedTags({ tags: [...new Set(tags)] })); this.metaTags.push(...this.formattedTags({ tags: [...new Set(tags)] }));
this.saveArticle(); this.saveArticle();
}, },
removeTag() {
this.saveArticle();
},
handleSearchChange(value) { handleSearchChange(value) {
this.tagInputValue = value; this.tagInputValue = value;
}, },