back button

MOHEMM-SFH-COLORS
Sultan Khan 5 years ago
parent b6162bb894
commit ac167aae53

@ -169,11 +169,11 @@ export class HomePage implements OnInit {
ngOnInit() {
let openDigitalIDCard = this.sharedData.getSharedData("loginWithDigitalIDButton", true);
this.platform.backButton.subscribeWithPriority(9999, () => {
if (this.router.isActive('/home', true)) {
this.common.openHome();
}
});
// this.platform.backButton.subscribeWithPriority(9999, () => {
// if (this.router.isActive('/home', true)) {
// this.common.openHome();
// }
// });
this.direction = TranslatorService.getCurrentLanguageName();
this.myTeamTitle = this.ts.trPK('myTeam', 'myTeam-header');
this.vacationRuleTitle = this.ts.trPK('vacation-rule', 'vacationRule');

Loading…
Cancel
Save