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

This commit is contained in:
Joffrey JAFFEUX 2019-04-25 13:16:06 +02:00 committed by GitHub
parent 6d77156a94
commit 7cbc4c1e46
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 5 additions and 1 deletions

View File

@ -45,7 +45,11 @@ export default ComboBoxComponent.extend(TagsMixin, {
if (!content.value) { if (!content.value) {
if (this.get("tagId")) { 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")) { } else if (this.get("noTagsSelected")) {
content.title = this.get("noTagsLabel"); content.title = this.get("noTagsLabel");
} else { } else {