removed unnecessary check when setting tags

This commit is contained in:
jwbuiter
2018-02-27 11:19:52 +01:00
parent 2cb40c4e3c
commit 077bcb86fe
@@ -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() {