Add admin vote status list and ready/wait messaging
This commit is contained in:
@@ -69,6 +69,9 @@ export async function refreshPhaseData() {
|
||||
state.votesRendered = false;
|
||||
await loadVoteData();
|
||||
}
|
||||
if (state.me?.isAdmin) {
|
||||
state.adminVoteStatus = await adminApi.voteStatus();
|
||||
}
|
||||
} catch (err) {
|
||||
if (handleAuthError(err, clearUserState)) return;
|
||||
throw err;
|
||||
|
||||
Reference in New Issue
Block a user