FIX: title should attempt to fallback to label before name (#9739)
This commit is contained in:
parent
4d137b4f89
commit
c6bf552ca3
|
@ -40,7 +40,9 @@ export default Component.extend(UtilsMixin, {
|
||||||
}),
|
}),
|
||||||
|
|
||||||
title: computed("item", function() {
|
title: computed("item", function() {
|
||||||
return this._safeProperty("title", this.item) || this.name || "";
|
return (
|
||||||
|
this._safeProperty("title", this.item) || this.label || this.name || ""
|
||||||
|
);
|
||||||
}),
|
}),
|
||||||
|
|
||||||
label: computed("title", "name", function() {
|
label: computed("title", "name", function() {
|
||||||
|
|
Loading…
Reference in New Issue