feature/gabinete-search

This commit is contained in:
Peter Maquiran
2023-05-26 14:23:37 +01:00
parent 0b3ffa3ea7
commit b2da8463b4
56 changed files with 98 additions and 186 deletions
+9 -5
View File
@@ -86,11 +86,7 @@ export class EventsPage implements OnInit {
(async () =>{
this.loadingAllTask = true
await this.TaskService.LoadTask()
this.loadingAllTask = false
})()
this.loadAllTask();
window['zipPhoneCallback'] = function (zipphone) {
@@ -135,6 +131,12 @@ export class EventsPage implements OnInit {
}
async loadAllTask() {
this.loadingAllTask = true
await this.TaskService.LoadTask()
this.loadingAllTask = false
}
hideSearch() {
if (this.router.url == '/home/events') {
this.hideSearchBtn = true;
@@ -149,8 +151,10 @@ export class EventsPage implements OnInit {
} catch(error) {}
}, 2000);
}
this.RefreshEvents();
this.LoadList();
this.loadAllTask();
}
onSegmentChange() {