mirror of
https://github.com/flarum/core.git
synced 2025-07-31 13:40:20 +02:00
update for mithril 2
This commit is contained in:
@@ -10,7 +10,7 @@ app.initializers.add('flarum-akismet', () => {
|
||||
const flags = post.flags();
|
||||
|
||||
if (flags && flags.some(flag => flag.type() === 'akismet')) {
|
||||
items.get('approve').props.children = app.translator.trans('flarum-akismet.forum.post.not_spam_button');
|
||||
items.get('approve').children = app.translator.trans('flarum-akismet.forum.post.not_spam_button');
|
||||
}
|
||||
}
|
||||
});
|
||||
|
Reference in New Issue
Block a user