diff --git a/src/app/pages/search/search.page.ts b/src/app/pages/search/search.page.ts index dc6ca5916..7fd64aed3 100644 --- a/src/app/pages/search/search.page.ts +++ b/src/app/pages/search/search.page.ts @@ -694,6 +694,8 @@ export class SearchPage implements OnInit { const ApplicationType = searchDocument.ApplicationType.toString() const Id = searchDocument.Id + const CalendarId = searchDocument.ApplicationName.split(':')[1] + if(this.select == false) { if(this.type == "Agenda") { @@ -701,6 +703,7 @@ export class SearchPage implements OnInit { component: ViewEventPage, componentProps:{ eventId: Id, + CalendarId: CalendarId, isModal: true, header: false }, @@ -717,7 +720,6 @@ export class SearchPage implements OnInit { if(ApplicationType == '8' || ApplicationType == '361') { - // alert('view!!') this.viewDocumentDetail(Id, ApplicationType); } }