Added loading and refresh

This commit is contained in:
2026-04-13 23:18:09 +01:00
parent 697f1e8490
commit ee09331baf
3 changed files with 61 additions and 2 deletions
@@ -22,6 +22,10 @@ export class RankingComponent implements OnInit {
await this.fetchUsers();
}
async ionViewWillEnter() {
await this.fetchUsers();
}
async fetchUsers() {
const loading = await this.loadCtrl.create({
message: 'Chargement...',