mirror of
https://github.com/flarum/framework.git
synced 2024-11-25 17:57:04 +08:00
Fix extension to work with latest state changes
This commit is contained in:
parent
24bf30d752
commit
eae4967c2d
|
@ -4,5 +4,5 @@ import app from 'flarum/app';
|
|||
import PusherSettingsModal from './components/PusherSettingsModal';
|
||||
|
||||
app.initializers.add('flarum-pusher', app => {
|
||||
app.extensionSettings['flarum-pusher'] = () => app.modal.show(new PusherSettingsModal());
|
||||
app.extensionSettings['flarum-pusher'] = () => app.modal.show(PusherSettingsModal);
|
||||
});
|
||||
|
|
Loading…
Reference in New Issue
Block a user