1
0
mirror of https://github.com/bitwarden/browser.git synced 2024-11-27 12:36:14 +01:00

remove swal hack

This commit is contained in:
Kyle Spearrin 2018-09-12 15:16:02 -04:00
parent 22a8f766c7
commit 2d6b4f1216

View File

@ -1,5 +1,4 @@
import * as _swal from 'sweetalert';
import { SweetAlert } from 'sweetalert/typings/core';
import swal from 'sweetalert';
import { DeviceType } from 'jslib/enums/deviceType';
@ -8,9 +7,6 @@ import { PlatformUtilsService } from 'jslib/abstractions/platformUtils.service';
import { Utils } from 'jslib/misc/utils';
// Hack due to Angular 5.2 bug
const swal: SweetAlert = _swal as any;
export class WebPlatformUtilsService implements PlatformUtilsService {
identityClientId: string = 'web';