|
|
|
|
@ -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');
|
|
|
|
|
|