mirror of
https://code.equilibrium.co.ao/ITO/doneit-web.git
synced 2026-04-18 20:47:54 +00:00
Refinamentos 1
This commit is contained in:
+3
-3
@@ -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();
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user