open document

This commit is contained in:
Peter Maquiran
2022-06-30 16:47:45 +01:00
parent 28880f015e
commit b673e37c60
4 changed files with 19 additions and 2 deletions
+16
View File
@@ -106,6 +106,22 @@ export class SearchPage implements OnInit {
this.viewDocumentDetail(Id, ApplicationType);
const modal = await this.modalController.create({
component: ViewDocumentPage,
componentProps: {
trustedUrl: '',
file: {
title: item.Assunto,
url: '',
title_link: '',
},
applicationId: ApplicationType,
docId: item.Id,
},
cssClass: 'modal modal-desktop'
});
await modal.present();
} else if (ApplicationType == '361') {
const modal = await this.modalController.create({