mirror of
https://github.com/flarum/framework.git
synced 2025-01-21 12:51:44 +08:00
commit
8b4380254e
|
@ -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');
|
||||
}
|
||||
}
|
||||
});
|
||||
|
|
Loading…
Reference in New Issue
Block a user