FEATURE: Add button to delete unused tags (#6587)

This is particularly useful if you have uploaded a CSV file, and wish
to bulk-delete all of the tags that you uploaded.
This commit is contained in:
David Taylor
2018-11-12 16:24:34 +00:00
committed by GitHub
parent 182b34243d
commit d89ffbeffd
8 changed files with 125 additions and 1 deletions
@@ -22,6 +22,12 @@ export default DropdownSelectBoxComponent.extend({
name: I18n.t("tagging.upload"),
description: I18n.t("tagging.upload_description"),
icon: "upload"
},
{
id: "deleteUnusedTags",
name: I18n.t("tagging.delete_unused"),
description: I18n.t("tagging.delete_unused_description"),
icon: "trash"
}
];
@@ -30,7 +36,8 @@ export default DropdownSelectBoxComponent.extend({
actionNames: {
manageGroups: "showTagGroups",
uploadTags: "showUploader"
uploadTags: "showUploader",
deleteUnusedTags: "deleteUnused"
},
mutateValue(id) {