mirror of
https://github.com/flarum/framework.git
synced 2024-12-13 07:03:35 +08:00
Merge pull request #598 from dcsjapan/badge-namespace
Add namespacing for badges
This commit is contained in:
commit
583a4f1d73
|
@ -86,7 +86,7 @@ Object.assign(Discussion.prototype, {
|
||||||
const items = new ItemList();
|
const items = new ItemList();
|
||||||
|
|
||||||
if (this.isHidden()) {
|
if (this.isHidden()) {
|
||||||
items.add('hidden', <Badge type="hidden" icon="trash" label={app.translator.trans('core.lib.hidden_discussion_tooltip')}/>);
|
items.add('hidden', <Badge type="hidden" icon="trash" label={app.translator.trans('core.lib.badge.hidden_discussion_tooltip')}/>);
|
||||||
}
|
}
|
||||||
|
|
||||||
return items;
|
return items;
|
||||||
|
|
Loading…
Reference in New Issue
Block a user