mirror of
https://github.com/flarum/framework.git
synced 2024-11-28 20:16:08 +08:00
Update js/src/common/models/Discussion.ts
Co-authored-by: David Wheatley <hi@davwheat.dev>
This commit is contained in:
parent
b460b8b5da
commit
c9d8e73ea9
|
@ -131,7 +131,7 @@ export default class Discussion extends Model {
|
|||
const items = new ItemList<Mithril.Children>();
|
||||
|
||||
if (this.isHidden()) {
|
||||
items.add('hidden', Badge.component({ type: 'hidden', icon: 'fas fa-trash', label: app.translator.trans('core.lib.badge.hidden_tooltip') }));
|
||||
items.add('hidden', <Badge type="hidden" icon="fas fa-trash", label={app.translator.trans('core.lib.badge.hidden_tooltip')} />);
|
||||
}
|
||||
|
||||
return items;
|
||||
|
|
Loading…
Reference in New Issue
Block a user