Fix skeleton loader

This commit is contained in:
Peter Maquiran
2021-07-14 16:12:04 +01:00
parent 29d8894c7b
commit c0fea28eee
32 changed files with 146 additions and 89 deletions
@@ -57,7 +57,7 @@
</ion-item>
</ion-list>
</div>
<div *ngIf="despachoList?.length < 1" class="overflow-y-auto height-100">
<div *ngIf="skeletonLoader" class="overflow-y-auto height-100">
<ion-list>
<ion-item>
@@ -37,7 +37,7 @@ taskList:tasksList[] = [];
taskType: string;
serialNumber:string;
totalDocs:any;
loading = false
skeletonLoader = true
@Input() profile:string;
segment:string;
@@ -99,7 +99,7 @@ goToDespachoPr(serialNumber:any){
this.despachoList = new Array();
this.loading = true;
this.skeletonLoader = true;
let result = await this.processes.GetTasksList("Despacho do Presidente da República", false).toPromise();
console.log(result);
@@ -143,7 +143,7 @@ goToDespachoPr(serialNumber:any){
this.despachoList = this.sortArrayISODate(this.despachoList).reverse()
this.loading = false;
this.skeletonLoader = false;
}