do not default button title tag to label
This commit is contained in:
parent
5dca462b5a
commit
d05bc64df8
|
@ -8,9 +8,9 @@ export default Ember.Component.extend({
|
||||||
|
|
||||||
noText: Ember.computed.empty('translatedLabel'),
|
noText: Ember.computed.empty('translatedLabel'),
|
||||||
|
|
||||||
@computed("title", "translatedLabel")
|
@computed("title")
|
||||||
translatedTitle(title, translatedLabel) {
|
translatedTitle(title) {
|
||||||
return title ? I18n.t(title) : translatedLabel;
|
if (title) return I18n.t(title);
|
||||||
},
|
},
|
||||||
|
|
||||||
@computed("label")
|
@computed("label")
|
||||||
|
|
Loading…
Reference in New Issue