This commit is contained in:
tiago.kayaya
2021-07-14 16:50:10 +01:00
42 changed files with 168 additions and 111 deletions
@@ -53,7 +53,7 @@
</div>
</ion-list>
</div>
<div *ngIf="!taskslist">
<div *ngIf="skeletonLoader">
<ion-list>
<ion-item>
@@ -13,7 +13,7 @@ import { AlertService } from 'src/app/services/alert.service';
export class ExpedientePage implements OnInit {
segment:string;
showLoader: boolean;
skeletonLoader = true
//profile:string;
taskslist:DailyWorkTask[];
@@ -37,7 +37,8 @@ export class ExpedientePage implements OnInit {
}
LoadList(){
this.showLoader = true;
this.skeletonLoader = true
this.processes.GetTasksList("Expediente", false).subscribe(result => {
console.log(result);
this.taskslist = new Array();
@@ -61,7 +62,7 @@ export class ExpedientePage implements OnInit {
this.taskslist.push(task);
});
console.log(this.taskslist);
this.showLoader = false;
this.skeletonLoader = false;
});
}