mirror of
https://github.com/flarum/framework.git
synced 2025-01-21 12:45:17 +08:00
Fix extension to work with latest state changes
This commit is contained in:
parent
4d10a5663f
commit
9cc73f6800
|
@ -3,5 +3,5 @@ import app from 'flarum/app';
|
|||
import AkismetSettingsModal from './components/AkismetSettingsModal';
|
||||
|
||||
app.initializers.add('flarum-akismet', () => {
|
||||
app.extensionSettings['flarum-akismet'] = () => app.modal.show(new AkismetSettingsModal());
|
||||
app.extensionSettings['flarum-akismet'] = () => app.modal.show(AkismetSettingsModal);
|
||||
});
|
||||
|
|
Loading…
Reference in New Issue
Block a user