From 2e315a422f478ffdba588f5106c32e7eb5bf6723 Mon Sep 17 00:00:00 2001 From: Dmitry Lyzo Date: Mon, 27 Jul 2020 13:27:27 +0300 Subject: [PATCH] Fix require of ES6 module --- src/controllers/dashboard/plugins/add/index.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/controllers/dashboard/plugins/add/index.js b/src/controllers/dashboard/plugins/add/index.js index 431b4e789f..a3c450dd79 100644 --- a/src/controllers/dashboard/plugins/add/index.js +++ b/src/controllers/dashboard/plugins/add/index.js @@ -66,7 +66,7 @@ define(['jQuery', 'loading', 'libraryMenu', 'globalize', 'connectionManager', 'e } function alertText(options) { - require(['alert'], function (alert) { + require(['alert'], function ({default: alert}) { alert(options); }); }