refactor(dashboard): disable autoFocus in dialog configurations

This commit is contained in:
Jan Gleytenhoover 2025-01-25 13:26:50 +01:00 committed by Jan Gleytenhoover
parent 1459290fed
commit b0744f94ad

View file

@ -54,6 +54,7 @@ export class DashboardComponent {
description: description:
'Are you sure that you want to open ' + link.link + ' now?', 'Are you sure that you want to open ' + link.link + ' now?',
}, },
autoFocus: false,
}) })
.afterClosed() .afterClosed()
.subscribe((accepted: Boolean) => { .subscribe((accepted: Boolean) => {
@ -83,6 +84,7 @@ export class DashboardComponent {
description: description:
'Are you sure that you want to delete ' + link.name + '?', 'Are you sure that you want to delete ' + link.name + '?',
}, },
autoFocus: false,
}) })
.afterClosed() .afterClosed()
.subscribe((accepted: boolean) => { .subscribe((accepted: boolean) => {