Update src/scripts/serverNotifications.js

Co-authored-by: Dmitry Lyzo <56478732+dmitrylyzo@users.noreply.github.com>
This commit is contained in:
Julien Machiels 2020-08-06 23:26:59 +02:00 committed by GitHub
parent 232ccb6b9f
commit 915a423997
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -19,7 +19,7 @@ function displayMessage(cmd) {
toast({ title: args.Header, text: args.Text });
});
} else {
import('alert').then((alert) => {
import('alert').then(({default: alert}) => {
alert({ title: args.Header, text: args.Text });
});
}