Skip to content

Commit

Permalink
Merge pull request #329 from rahulramakrishnan3/release-2.5.0
Browse files Browse the repository at this point in the history
bug fix 1095
  • Loading branch information
kiranharidas187 authored Dec 8, 2023
2 parents 28b7024 + 5910a3a commit 9592624
Showing 1 changed file with 5 additions and 1 deletion.
6 changes: 5 additions & 1 deletion src/app/app.component.ts
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
import { Component, NgZone } from '@angular/core';
import { Component, HostListener, NgZone } from '@angular/core';
import { AlertController, MenuController, Platform } from '@ionic/angular';
import { TranslateService } from '@ngx-translate/core';
import { localKeys } from './core/constants/localStorage.keys';
Expand Down Expand Up @@ -249,4 +249,8 @@ export class AppComponent {
this.routerSubscription.unsubscribe();
}
}
@HostListener('window:popstate', ['$event'])
onPopState(event: any) {
this.utilService.alertClose()
}
}

0 comments on commit 9592624

Please sign in to comment.