mirror of
https://github.com/codeninjasllc/discourse.git
synced 2025-04-01 09:39:51 -04:00
UX: do not default link title tag to label
This commit is contained in:
parent
d5ae7e54f9
commit
f26bd48ba0
1 changed files with 3 additions and 4 deletions
|
@ -28,10 +28,9 @@ export default Ember.Component.extend({
|
|||
return '';
|
||||
},
|
||||
|
||||
@computed("title", "label")
|
||||
translatedTitle(title, label) {
|
||||
const text = title || label;
|
||||
if (text) return I18n.t(text);
|
||||
@computed("title")
|
||||
translatedTitle(title) {
|
||||
if (title) return I18n.t(title);
|
||||
},
|
||||
|
||||
click(e) {
|
||||
|
|
Loading…
Add table
Reference in a new issue