Merge pull request #630 from jwbuiter/fix/delete-tags

Fixed bug where tags were not able to be removed
This commit is contained in:
John Furrow
2018-03-04 11:43:18 -08:00
committed by GitHub
@@ -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() {