From 9cc73f6800d07575e2a6edc81d91d47b79681c1c Mon Sep 17 00:00:00 2001 From: Alexander Skvortsov Date: Wed, 1 Jul 2020 20:20:38 -0400 Subject: [PATCH] Fix extension to work with latest state changes --- extensions/akismet/js/src/admin/index.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/extensions/akismet/js/src/admin/index.js b/extensions/akismet/js/src/admin/index.js index e32209296..ded81072d 100644 --- a/extensions/akismet/js/src/admin/index.js +++ b/extensions/akismet/js/src/admin/index.js @@ -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); });