mirror of
https://github.com/jellyfin/jellyfin-web
synced 2025-03-30 19:56:21 +00:00
Fix regression after PR #3046
`dialogHelper.open` has become async and it is not possible to perform any action immediately after calling it.
This commit is contained in:
parent
aa418cbf41
commit
570fa85809
3 changed files with 6 additions and 5 deletions
|
@ -30,8 +30,9 @@ import globalize from '../scripts/globalize';
|
|||
options = text;
|
||||
}
|
||||
|
||||
await appRouter.ready();
|
||||
|
||||
if (useNativeAlert()) {
|
||||
await appRouter.ready();
|
||||
alert(replaceAll(options.text || '', '<br/>', '\n'));
|
||||
return Promise.resolve();
|
||||
} else {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue