add loader to else condition

This commit is contained in:
Eudes Inácio
2022-12-21 14:41:24 +01:00
parent b646f273f1
commit 40e5bb9987
+3 -2
View File
@@ -148,7 +148,7 @@ export class EventsPage implements OnInit {
async RefreshEvents() {
console.log('im here')
this.currentEvent = "";
this.showLoader = true;
this.showAgendaLoader = true;
@@ -167,7 +167,8 @@ export class EventsPage implements OnInit {
this.showLoader = false;
this.showAgendaLoader = false;
} else {
this.showLoader = true;
this.showAgendaLoader = true;
}
}