mirror of
https://github.com/flarum/framework.git
synced 2025-01-21 16:26:13 +08:00
commit
8b4380254e
|
@ -10,7 +10,7 @@ app.initializers.add('flarum-akismet', () => {
|
||||||
const flags = post.flags();
|
const flags = post.flags();
|
||||||
|
|
||||||
if (flags && flags.some(flag => flag.type() === 'akismet')) {
|
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