Add view event modal

This commit is contained in:
Peter Maquiran
2021-03-25 16:55:32 +01:00
parent d7be074140
commit cff95f6d8f
3 changed files with 6 additions and 5 deletions
+4 -1
View File
@@ -213,7 +213,8 @@ export class AgendaPage implements OnInit {
this.showEventEditOrOpen = 'edit';
if( window.innerWidth <= 1024){
this.router.navigate(["/home/agenda", event.id, 'agenda']);
this.viewEventDetail(event.id)
//this.router.navigate(["/home/agenda", event.id, 'agenda']);
} else {
this.cloneAllmobileComponent();
@@ -222,6 +223,8 @@ export class AgendaPage implements OnInit {
}
//Show information of the event
async onEventSelected(ev: { event: Event}){
this.viewEventDetail(ev.event.EventId);
@@ -18,10 +18,9 @@ ion-content{
transform: translate3d(0, 1px, 0);
.title-content{
width: 360px;
padding: 0px 20px;
margin: 0px auto;
overflow: auto;
padding: 0 !important;
background: #fff;
.middle{
padding: 0!important;
@@ -25,10 +25,9 @@ ion-menu{
transform: translate3d(0, 1px, 0);
.title-content{
width: 360px;
padding: 0px 20px;
margin: 0px auto;
overflow: auto;
padding: 0 !important;
background: #fff;
.left{