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);
}
}