mirror of
https://github.com/flarum/framework.git
synced 2025-01-22 12:16:31 +08:00
Rename Discussion, User files to allow jsx
This commit is contained in:
parent
4bd5bc87ee
commit
4444e7c788
|
@ -131,7 +131,7 @@ export default class Discussion extends Model {
|
|||
const items = new ItemList<Mithril.Children>();
|
||||
|
||||
if (this.isHidden()) {
|
||||
items.add('hidden', <Badge 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