mirror of
https://github.com/bitwarden/browser
synced 2025-12-13 23:03:32 +00:00
add timeout to swal alerts
This commit is contained in:
2
jslib
2
jslib
Submodule jslib updated: 5608f11925...e883dfdaac
@@ -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 {
|
||||
|
||||
Reference in New Issue
Block a user