diff --git a/web/components/management/rounds-card.js b/web/components/management/rounds-card.js index b58847ac5f4c9afeb3f1f882e316257f45e48fc5..cd5540e024cfc08ab2dc795ee9d25f95e85e6eba 100644 --- a/web/components/management/rounds-card.js +++ b/web/components/management/rounds-card.js @@ -25,6 +25,7 @@ class Round { async mount(where) { this.ElectionModel.current_user = await Auth.GetUser(); this.RoundModel.current_user = await Auth.GetUser(); + this.RoundModel.refreshRounds(); const mountpoint = where; document.getElementById(mountpoint).innerHTML = /* HTML */ ` <header class="card-header"> @@ -38,7 +39,7 @@ class Round { `; this.mountModal("round-modal"); this.handleDom(); - this.displayRounds(); + await this.displayRounds(); } handleDom() {