diff --git a/src/components/Modals/TagsAndCategories/CreateTagDialog.vue b/src/components/Modals/TagsAndCategories/CreateTagDialog.vue index 7b28636e..43056f9a 100644 --- a/src/components/Modals/TagsAndCategories/CreateTagDialog.vue +++ b/src/components/Modals/TagsAndCategories/CreateTagDialog.vue @@ -42,7 +42,7 @@ export default { }, methods: { create() { - qbit.createTag(this.tagname) + qbit.createTag([this.tagname]) this.cancel() }, cancel() { diff --git a/src/components/Settings/Tabs/TagsAndCategories.vue b/src/components/Settings/Tabs/TagsAndCategories.vue index 1153ce65..daa9a6d5 100644 --- a/src/components/Settings/Tabs/TagsAndCategories.vue +++ b/src/components/Settings/Tabs/TagsAndCategories.vue @@ -96,11 +96,11 @@ export default { this.createModal('CreateCategoryDialog') }, deleteCategory(category) { - qbit.deleteCategory(category.name) + qbit.deleteCategory([category.name]) this.$store.commit('FETCH_CATEGORIES') }, deleteTag(item) { - qbit.deleteTag(item) + qbit.deleteTag([item]) this.$store.commit('FETCH_TAGS') }, editCategory(cat) { diff --git a/src/components/Torrent/TorrentRightClickMenu.vue b/src/components/Torrent/TorrentRightClickMenu.vue index 8c2e5efc..55d7c835 100644 --- a/src/components/Torrent/TorrentRightClickMenu.vue +++ b/src/components/Torrent/TorrentRightClickMenu.vue @@ -418,10 +418,10 @@ export default { else this.addTag(tag) }, addTag(tag) { - qbit.addTorrentTag(this.hashes, tag) + qbit.addTorrentTag(this.hashes, [tag]) }, removeTag(tag) { - qbit.removeTorrentTag(this.hashes, tag) + qbit.removeTorrentTag(this.hashes, [tag]) }, toggleSeq() { qbit.toggleSequentialDownload(this.hashes) diff --git a/src/components/TorrentDetail/Tabs/TorrentTagsAndCategories.vue b/src/components/TorrentDetail/Tabs/TorrentTagsAndCategories.vue index 1b57476a..4dfb4339 100644 --- a/src/components/TorrentDetail/Tabs/TorrentTagsAndCategories.vue +++ b/src/components/TorrentDetail/Tabs/TorrentTagsAndCategories.vue @@ -82,10 +82,10 @@ export default { return this.deleteTag(tag) } - return qbit.addTorrentTag([this.hash], tag) + return qbit.addTorrentTag([this.hash], [tag]) }, deleteTag(tag) { - qbit.removeTorrentTag([this.hash], tag) + qbit.removeTorrentTag([this.hash], [tag]) }, setCategory(cat) { if (this.torrent.category === cat.name) {