Refinamentos 1

This commit is contained in:
Paulo Pinto
2020-08-28 12:43:19 +01:00
parent 4c7dc5003e
commit e30e38f253
16 changed files with 16 additions and 152 deletions
@@ -16,8 +16,7 @@ export class ExpedienteDetailPage implements OnInit {
constructor(private activateRoute: ActivatedRoute,
private processes:ProcessesService,
private iab: InAppBrowser,
private loadingService: LoadingService) { }
private iab: InAppBrowser) { }
task: DailyWorkTask;
@@ -48,7 +47,8 @@ export class ExpedienteDetailPage implements OnInit {
viewDocument()
{
const browser = this.iab.create(this.task.DocumentURL,"_blank");
const url: string = this.task.DocumentURL.replace("webTRIX.Viewer","webTRIX.Viewer/branch1");
const browser = this.iab.create(url,"_blank");
browser.show();
}
}