Skip to content

A platform for community discussion. Free, open, simple.

FIX: uses no tags label for tag-drop header (#7438)

Joffrey JAFFEUX7cbc4c1e4627
diff --git a/app/assets/javascripts/select-kit/components/tag-drop.js.es6 b/app/assets/javascripts/select-kit/components/tag-drop.js.es6
index f7a66a11a1e..52c235efed0 100644
--- a/app/assets/javascripts/select-kit/components/tag-drop.js.es6
+++ b/app/assets/javascripts/select-kit/components/tag-drop.js.es6
@@ -45,7 +45,11 @@ export default ComboBoxComponent.extend(TagsMixin, {
if (!content.value) {
if (this.get("tagId")) {
- content.title = this.get("tagId");
+ if (this.get("tagId") === "none") {
+ content.title = this.get("noTagsLabel");
+ } else {
+ content.title = this.get("tagId");
+ }
} else if (this.get("noTagsSelected")) {
content.title = this.get("noTagsLabel");
} else {