mirror of
https://github.com/zoriya/flood.git
synced 2026-06-08 12:42:41 +00:00
Merge pull request #630 from jwbuiter/fix/delete-tags
Fixed bug where tags were not able to be removed
This commit is contained in:
@@ -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() {
|
||||
|
||||
Reference in New Issue
Block a user