mirror of
https://code.equilibrium.co.ao/ITO/doneit-web.git
synced 2026-04-20 13:26:08 +00:00
Improve aganda
This commit is contained in:
@@ -864,6 +864,7 @@ export class AgendaPage implements OnInit {
|
|||||||
|
|
||||||
setTimeout(()=>{
|
setTimeout(()=>{
|
||||||
|
|
||||||
|
if(this.eventSelectedDate.toLocaleDateString('en-US') != (new Date()).toLocaleDateString('en-US')){
|
||||||
let sortedDate = this.eventSource.sort((a,b) =>{
|
let sortedDate = this.eventSource.sort((a,b) =>{
|
||||||
return (b.startTime) -(a.startTime);
|
return (b.startTime) -(a.startTime);
|
||||||
});
|
});
|
||||||
@@ -883,6 +884,8 @@ export class AgendaPage implements OnInit {
|
|||||||
behavior: 'smooth'
|
behavior: 'smooth'
|
||||||
})
|
})
|
||||||
|
|
||||||
|
}
|
||||||
|
|
||||||
}, 500);
|
}, 500);
|
||||||
|
|
||||||
}
|
}
|
||||||
|
|||||||
@@ -109,12 +109,6 @@ export class ViewEventPage implements OnInit {
|
|||||||
|
|
||||||
async editEventDetail() {
|
async editEventDetail() {
|
||||||
|
|
||||||
let classs;
|
|
||||||
if( window.innerWidth <= 800){
|
|
||||||
classs = 'modal'
|
|
||||||
} else {
|
|
||||||
classs = 'modal modal-desktop'
|
|
||||||
}
|
|
||||||
|
|
||||||
const modal = await this.modalController.create({
|
const modal = await this.modalController.create({
|
||||||
component: EditEventPage,
|
component: EditEventPage,
|
||||||
@@ -122,7 +116,7 @@ export class ViewEventPage implements OnInit {
|
|||||||
eventId: this.loadedEvent.EventId,
|
eventId: this.loadedEvent.EventId,
|
||||||
profile: this.profile,
|
profile: this.profile,
|
||||||
},
|
},
|
||||||
cssClass: classs,
|
cssClass: 'modal modal-desktop',
|
||||||
});
|
});
|
||||||
|
|
||||||
}
|
}
|
||||||
@@ -131,7 +125,7 @@ export class ViewEventPage implements OnInit {
|
|||||||
|
|
||||||
let classs;
|
let classs;
|
||||||
if( window.innerWidth <= 800){
|
if( window.innerWidth <= 800){
|
||||||
classs = 'modal'
|
classs = 'modal modal-desktop'
|
||||||
} else {
|
} else {
|
||||||
classs = 'modal modal-desktop showAsideOptions'
|
classs = 'modal modal-desktop showAsideOptions'
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user