mirror of
https://github.com/flarum/framework.git
synced 2024-12-04 08:13:39 +08:00
Rename the key for the "Hidden" badge tooltip
- Shortens the key name for consistency with `badge:` namespace. - Revised YAML to follow.
This commit is contained in:
parent
ee7bfddd4b
commit
c260d3557f
|
@ -86,7 +86,7 @@ Object.assign(Discussion.prototype, {
|
|||
const items = new ItemList();
|
||||
|
||||
if (this.isHidden()) {
|
||||
items.add('hidden', <Badge type="hidden" icon="trash" label={app.translator.trans('core.lib.badge.hidden_discussion_tooltip')}/>);
|
||||
items.add('hidden', <Badge type="hidden" icon="trash" label={app.translator.trans('core.lib.badge.hidden_tooltip')}/>);
|
||||
}
|
||||
|
||||
return items;
|
||||
|
|
Loading…
Reference in New Issue
Block a user