This commit is contained in:
tiago.kayaya
2021-08-17 14:17:19 +01:00
parent 6714825bb7
commit 13a5ca0702
5 changed files with 42 additions and 23 deletions
@@ -222,8 +222,8 @@ export class ExpedientePrPage implements OnInit {
}
}
viewDocument() {
this.processes.GetDocumentUrl(this.task.DocId, this.task.FsId).subscribe(res=>{
viewDocument(DocId:string) {
this.processes.GetDocumentUrl(DocId, this.task.FsId).subscribe(res=>{
console.log(res);
const url: string = res.replace("webTRIX.Viewer","webTRIX.Viewer.Branch1");
const browser = this.iab.create(url,"_blank");