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
|
@ -184,9 +184,7 @@ import '../../assets/css/scrollstyles.scss';
|
|||
return dlg.getAttribute('data-history') === 'true';
|
||||
}
|
||||
|
||||
export async function open(dlg) {
|
||||
await appRouter.ready();
|
||||
|
||||
export function open(dlg) {
|
||||
if (globalOnOpenCallback) {
|
||||
globalOnOpenCallback(dlg);
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue