mirror of
https://code.equilibrium.co.ao/ITO/doneit-web.git
synced 2026-04-18 12:37:53 +00:00
Improve responsiveness
This commit is contained in:
@@ -44,7 +44,7 @@ export class ApproveEventModalPage implements OnInit {
|
||||
|
||||
window.onresize = (event) => {
|
||||
// if not mobile remove all component
|
||||
if( window.innerWidth >= 1024){
|
||||
if( window.innerWidth >= 800){
|
||||
this.modalController.dismiss(null);
|
||||
}
|
||||
};
|
||||
|
||||
@@ -56,7 +56,7 @@ export class EditEventPage implements OnInit {
|
||||
}
|
||||
}
|
||||
|
||||
if(this.postEvent.Attendees == null){
|
||||
if(this.postEvent.Attendees == null) {
|
||||
this.taskParticipants = []
|
||||
} else {
|
||||
|
||||
@@ -86,10 +86,10 @@ export class EditEventPage implements OnInit {
|
||||
|
||||
window.onresize = (event) => {
|
||||
// if not mobile remove all component
|
||||
if( window.innerWidth >= 800){
|
||||
if( window.innerWidth >= 1024) {
|
||||
this.modalController.dismiss();
|
||||
}
|
||||
};
|
||||
}
|
||||
|
||||
}
|
||||
|
||||
|
||||
@@ -107,6 +107,7 @@ export class NewEventPage implements OnInit {
|
||||
this.modalController.dismiss();
|
||||
}
|
||||
};
|
||||
|
||||
}
|
||||
close(){
|
||||
this.modalController.dismiss();
|
||||
|
||||
@@ -67,7 +67,7 @@ export class ViewEventPage implements OnInit {
|
||||
|
||||
window.onresize = (event) => {
|
||||
// if not mobile remove all component
|
||||
if( window.innerWidth >= 1024){
|
||||
if( window.innerWidth >= 1024) {
|
||||
this.modalController.dismiss(this.isEventEdited);
|
||||
}
|
||||
};
|
||||
|
||||
+1
@@ -196,6 +196,7 @@ export class ExpedientTaskModalPage implements OnInit {
|
||||
DispatchFolder: this.dispatchFolder,
|
||||
AttachmentList: docs
|
||||
}
|
||||
console.log(JSON.stringify(this.postData))
|
||||
console.log('this.postData', this.postData, this.taskType);
|
||||
this.taskResult = await this.processes.postDespatcho(this.postData);
|
||||
break;
|
||||
|
||||
Reference in New Issue
Block a user