Rename Discussion, User files to allow jsx

This commit is contained in:
Alexander Skvortsov 2021-12-12 15:18:20 -05:00
parent 4bd5bc87ee
commit 4444e7c788
No known key found for this signature in database
GPG Key ID: C4E3BBF9C3412B4C
2 changed files with 1 additions and 1 deletions

View File

@ -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;