Added loading and refresh
This commit is contained in:
@@ -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...',
|
||||
|
||||
Reference in New Issue
Block a user