mirror of
https://github.com/discourse/discourse.git
synced 2026-07-31 08:38:27 -05:00
A11Y: remove title from notification menu icons (#23735)
This commit is contained in:
+1
-1
@@ -2,7 +2,7 @@
|
||||
<div class="icons">
|
||||
<span class="selection-indicator"></span>
|
||||
{{#each this.icons as |icon|}}
|
||||
{{d-icon icon translatedTitle=(dasherize this.title)}}
|
||||
{{d-icon icon}}
|
||||
{{/each}}
|
||||
</div>
|
||||
{{/if}}
|
||||
|
||||
+1
-3
@@ -13,9 +13,7 @@ export default DropdownSelectBoxRowComponent.extend({
|
||||
return escapeExpression(I18n.t(`${this._start}.title`));
|
||||
}),
|
||||
|
||||
title: readOnly("label"),
|
||||
|
||||
icons: computed("title", "item.icon", function () {
|
||||
icons: computed("item.icon", function () {
|
||||
return [escapeExpression(this.item.icon)];
|
||||
}),
|
||||
|
||||
|
||||
Reference in New Issue
Block a user