mirror of
https://github.com/bitwarden/web
synced 2025-12-13 14:53:25 +00:00
remove swal hack again
This commit is contained in:
@@ -1,6 +1,5 @@
|
|||||||
import * as jq from 'jquery';
|
import * as jq from 'jquery';
|
||||||
import * as _swal from 'sweetalert';
|
import swal from 'sweetalert';
|
||||||
import { SweetAlert } from 'sweetalert/typings/core';
|
|
||||||
|
|
||||||
import {
|
import {
|
||||||
ToasterConfig,
|
ToasterConfig,
|
||||||
@@ -45,8 +44,6 @@ import { ConstantsService } from 'jslib/services/constants.service';
|
|||||||
import { RouterService } from './services/router.service';
|
import { RouterService } from './services/router.service';
|
||||||
|
|
||||||
const BroadcasterSubscriptionId = 'AppComponent';
|
const BroadcasterSubscriptionId = 'AppComponent';
|
||||||
// Hack due to Angular 5.2 bug
|
|
||||||
const swal: SweetAlert = _swal as any;
|
|
||||||
const IdleTimeout = 60000 * 10; // 10 minutes
|
const IdleTimeout = 60000 * 10; // 10 minutes
|
||||||
|
|
||||||
@Component({
|
@Component({
|
||||||
|
|||||||
Reference in New Issue
Block a user