Pull of bug fixed on pendents

This commit is contained in:
Eudes Inácio
2021-10-19 09:50:20 +01:00
10 changed files with 28 additions and 22 deletions
@@ -71,6 +71,9 @@
</div>
</div>
</div>
<div *ngIf="frameUrl">
<iframe id="iframe" [src]="frameUrl" height="100%" width="100%" title="Iframe Example"></iframe>
</div>
{{last ? scrollToBottom() : ''}}
</div>
</div>
@@ -54,6 +54,7 @@ export class MessagesPage implements OnInit, OnChanges, AfterViewInit, OnDestroy
mesageItemDropdownOptions: boolean = false;
scrollToBottomBtn = false;
longPressActive = false;
frameUrl: any;
constructor(
public popoverController: PopoverController,
@@ -246,7 +247,8 @@ export class MessagesPage implements OnInit, OnChanges, AfterViewInit, OnDestroy
}
else{
let fullUrl = "https://www.tabularium.pt" + url;
this.fileService.viewDocumentByUrl(fullUrl);
this.frameUrl = fullUrl;
//this.fileService.viewDocumentByUrl(fullUrl);
}
}
@@ -61,7 +61,7 @@ export class AllProcessesPage implements OnInit {
async loadAllProcesses() {
let allProcessesList = await this.processesService.GetTasksList("", false).toPromise();
console.log(allProcessesList);
//console.log(allProcessesList);
this.skeletonLoader = true;
@@ -62,7 +62,7 @@ export class PendentesPage implements OnInit {
});
pendentesList = removeDuplicate( pendentesList)
pendentesList = this.sortService.sortArrayByDate(pendentesList);
pendentesList = this.sortService.sortArrayISODate(pendentesList);
this.pendentesstore.reset(pendentesList);
this.skeletonLoader = false;