mirror of
https://github.com/bitwarden/browser.git
synced 2024-11-21 11:35:34 +01:00
not async. cleanup tsconfig
This commit is contained in:
parent
755e3486ee
commit
0691c11154
@ -105,8 +105,8 @@ export class AppComponent implements OnInit {
|
||||
} else if (msg.command === 'showDialog') {
|
||||
await this.showDialog(msg);
|
||||
} else if (msg.command === 'showToast') {
|
||||
this.ngZone.run(async () => {
|
||||
await this.showToast(msg);
|
||||
this.ngZone.run(() => {
|
||||
this.showToast(msg);
|
||||
});
|
||||
} else if (msg.command === 'analyticsEventTrack') {
|
||||
this.analytics.eventTrack.next({
|
||||
@ -150,7 +150,7 @@ export class AppComponent implements OnInit {
|
||||
this.storageService.save(ConstantsService.lastActiveKey, now);
|
||||
}
|
||||
|
||||
private async showToast(msg: any) {
|
||||
private showToast(msg: any) {
|
||||
const toast: Toast = {
|
||||
type: msg.type,
|
||||
title: msg.title,
|
||||
|
@ -19,12 +19,6 @@
|
||||
"@angular/*": [
|
||||
"node_modules/@angular/*"
|
||||
],
|
||||
"angular2-toaster": [
|
||||
"node_modules/angular2-toaster"
|
||||
],
|
||||
"angulartics2": [
|
||||
"node_modules/angulartics2"
|
||||
],
|
||||
"node": [
|
||||
"node_modules/@types/node"
|
||||
]
|
||||
|
Loading…
Reference in New Issue
Block a user