Merge branch 'feature/fix-login' into develop

This commit is contained in:
gilson.manuel
2022-07-04 17:49:23 +01:00
11 changed files with 29 additions and 52 deletions
@@ -30,12 +30,14 @@
</ion-segment-button>
</ion-segment>
</div>
</div>
</div>
<div [ngSwitch]="segmentVista" class="overflow-y-auto">
<!-- This is the list view -->
<div *ngSwitchCase="'listview'">
<ion-item-sliding *ngIf="loadCount">
<div class="listview" >
<ion-list *ngIf="AllProcess">
@@ -159,9 +159,9 @@ export class GabineteDigitalPage implements OnInit {
else {
this.segmentVista = "boxview";
}
};
this.checkRoutes();
}
this.checkRoutes();
}
closeAllDesktopComponent() {
this.desktopComponent = {
@@ -208,8 +208,6 @@ export class GabineteDigitalPage implements OnInit {
this.backgroundservice.registerBackService('Online', () => {
this.loadAllProcesses();
});
}
async loadAllProcesses() {
@@ -257,7 +255,6 @@ export class GabineteDigitalPage implements OnInit {
allprocess.forEach(element => {
let date = new Date(element.taskStartDate);
date.setMonth(date.getMonth() + 1);
let taskDate = date.getFullYear() + "-" + date.getMonth() + "-" + date.getDate() + " " + date.getHours() + ":" + date.getMinutes() + ":" + date.getSeconds();
let task = {
"SerialNumber": element.serialNumber,