mirror of
https://github.com/jellyfin/jellyfin-web
synced 2025-03-30 19:56:21 +00:00
Update src/scripts/serverNotifications.js
Co-authored-by: Dmitry Lyzo <56478732+dmitrylyzo@users.noreply.github.com>
This commit is contained in:
parent
232ccb6b9f
commit
915a423997
1 changed files with 1 additions and 1 deletions
|
@ -19,7 +19,7 @@ function displayMessage(cmd) {
|
||||||
toast({ title: args.Header, text: args.Text });
|
toast({ title: args.Header, text: args.Text });
|
||||||
});
|
});
|
||||||
} else {
|
} else {
|
||||||
import('alert').then((alert) => {
|
import('alert').then(({default: alert}) => {
|
||||||
alert({ title: args.Header, text: args.Text });
|
alert({ title: args.Header, text: args.Text });
|
||||||
});
|
});
|
||||||
}
|
}
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue