diff --git a/client/src/javascript/components/modals/set-tags-modal/SetTagsModal.js b/client/src/javascript/components/modals/set-tags-modal/SetTagsModal.js index 827b8236..a40a21ba 100644 --- a/client/src/javascript/components/modals/set-tags-modal/SetTagsModal.js +++ b/client/src/javascript/components/modals/set-tags-modal/SetTagsModal.js @@ -18,12 +18,10 @@ class SetTagsModal extends React.Component { const formData = this.formRef.getFormData(); const tags = formData.tags ? formData.tags.split(',') : []; - if (tags && tags.length > 0) { - this.setState( - {isSettingTags: true}, - () => TorrentActions.setTaxonomy(TorrentStore.getSelectedTorrents(), tags) - ); - } + this.setState( + {isSettingTags: true}, + () => TorrentActions.setTaxonomy(TorrentStore.getSelectedTorrents(), tags) + ); }; getActions() {