1
0
mirror of https://github.com/bitwarden/browser synced 2024-12-27 10:23:48 +01:00

remove swal hack again

This commit is contained in:
Kyle Spearrin 2018-09-12 15:18:37 -04:00
parent 2d6b4f1216
commit f19aa96f3e

View File

@ -1,6 +1,5 @@
import * as jq from 'jquery';
import * as _swal from 'sweetalert';
import { SweetAlert } from 'sweetalert/typings/core';
import swal from 'sweetalert';
import {
ToasterConfig,
@ -45,8 +44,6 @@ import { ConstantsService } from 'jslib/services/constants.service';
import { RouterService } from './services/router.service';
const BroadcasterSubscriptionId = 'AppComponent';
// Hack due to Angular 5.2 bug
const swal: SweetAlert = _swal as any;
const IdleTimeout = 60000 * 10; // 10 minutes
@Component({