This commit is contained in:
Peter Maquiran
2022-06-23 14:52:34 +01:00
parent f0b1132d76
commit 2517840a19
5 changed files with 16 additions and 22 deletions
@@ -29,23 +29,21 @@
</ion-refresher>
<ion-progress-bar type="indeterminate" *ngIf="skeletonLoader"></ion-progress-bar>
<div class="width-100" *ngIf="diplomasList.length >= 1">
<div class="width-100" *ngIf="deplomasStore.diplomasParaAssinarList">
<div *ngIf="diplomasList">
<div *ngIf="deplomasStore.diplomasParaAssinarList">
<ion-list >
<!-- *ngFor = "let task of parecerList; let i = index"
(click)="viewExpedientDetail(task.SerialNumber)" -->
<div
class="expediente ion-no-padding ion-no-margin cursor-pointer"
*ngFor = "let task of diplomasList"
(click)="goToDiploma(task.SerialNumber)"
*ngFor = "let task of deplomasStore.diplomasParaAssinarList"
(click)="goToDiploma(task.SerialNumber || task.serialNumber)"
>
<!-- (click)="viewExpedientDetail(task.SerialNumber)" -->
<!-- [routerLink]="['/home/gabinete-digital/expediente',task.SerialNumber]" -->
<div class="item width-100">
<div class="exp-top-detail">
<div class="subject">
<ion-label>{{ task.Folio }}</ion-label>
<ion-label>{{ task.Folio || task.workflowInstanceDataFields.Subject }}</ion-label>
</div>
<div class="exp-icon">
<ion-icon *ngIf="ThemeService.currentTheme == 'default' "src="assets/images/icons-expediente-attachment.svg"></ion-icon>
@@ -74,13 +72,13 @@
<!-- Empty -->
<div
*ngIf="!skeletonLoader && diplomasList.length == 0"
*ngIf="!skeletonLoader && deplomasStore.diplomasParaAssinarList.length == 0"
class="empty-list d-flex height-100 align-center justify-content-center"
>
<span>Lista vazia</span>
</div>
<div *ngIf="skeletonLoader && diplomasList.length == 0">
<div *ngIf="skeletonLoader && deplomasStore.diplomasParaAssinarList.length == 0">
<ion-list>
<ion-item>