|
|
|
@ -455,9 +455,10 @@ export class HomePage implements OnInit {
|
|
|
|
if (this.common.validResponse(result)) {
|
|
|
|
if (this.common.validResponse(result)) {
|
|
|
|
this.common.presentAlert(this.ts.trPK('home', 'swipeAlertSuccess'));
|
|
|
|
this.common.presentAlert(this.ts.trPK('home', 'swipeAlertSuccess'));
|
|
|
|
this.showAttendanceTracking();
|
|
|
|
this.showAttendanceTracking();
|
|
|
|
} else {
|
|
|
|
|
|
|
|
this.common.presentAlert(this.ts.trPK('home', 'swipeAlertFailed'));
|
|
|
|
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
// else {
|
|
|
|
|
|
|
|
// this.common.presentAlert(this.ts.trPK('home', 'swipeAlertFailed'));
|
|
|
|
|
|
|
|
// }
|
|
|
|
});
|
|
|
|
});
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
|