mirror of
https://code.equilibrium.co.ao/ITO/doneit-web.git
synced 2026-04-19 21:06:06 +00:00
fix loader
This commit is contained in:
@@ -126,13 +126,19 @@ export class EventsPage implements OnInit {
|
||||
}
|
||||
}
|
||||
|
||||
doRefresh() {
|
||||
doRefresh(event) {
|
||||
if (event) {
|
||||
setTimeout(() => {
|
||||
event.target.complete();
|
||||
}, 2000);
|
||||
}
|
||||
this.RefreshEvents();
|
||||
this.LoadList();
|
||||
}
|
||||
|
||||
onSegmentChange() {
|
||||
this.doRefresh();
|
||||
this.RefreshEvents();
|
||||
this.LoadList();
|
||||
}
|
||||
|
||||
|
||||
|
||||
Reference in New Issue
Block a user