remove swal hack
This commit is contained in:
parent
22a8f766c7
commit
2d6b4f1216
|
@ -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';
|
||||
|
||||
|
|
Loading…
Reference in New Issue