mirror of
https://github.com/bitwarden/browser.git
synced 2024-12-22 16:29:09 +01:00
add timeout to swal alerts
This commit is contained in:
parent
4a028376e4
commit
82dd5b8b08
2
jslib
2
jslib
@ -1 +1 @@
|
||||
Subproject commit 5608f119252ca29ddae8fe98599efd27f7922a2e
|
||||
Subproject commit e883dfdaac6b475d032bac9be6aca7cd18d70861
|
@ -181,6 +181,7 @@ export class AppComponent implements OnInit {
|
||||
const confirmed = await swal({
|
||||
content: { element: contentDiv },
|
||||
buttons: buttons,
|
||||
timer: 300000, // 5 minute timeout
|
||||
});
|
||||
|
||||
this.messagingService.send('showDialogResolve', {
|
||||
|
@ -18,7 +18,7 @@ const AnalyticsIds = {
|
||||
[DeviceType.Safari]: 'UA-81915606-16',
|
||||
};
|
||||
|
||||
const DialogPromiseExpiration = 3600000; // 1 hour
|
||||
const DialogPromiseExpiration = 600000; // 10 minutes
|
||||
|
||||
export default class BrowserPlatformUtilsService implements PlatformUtilsService {
|
||||
static getDomain(uriString: string): string {
|
||||
|
Loading…
Reference in New Issue
Block a user