diff --git a/frontend/src/routes/admin.tsx b/frontend/src/routes/admin.tsx index aac7b4e..24152c7 100644 --- a/frontend/src/routes/admin.tsx +++ b/frontend/src/routes/admin.tsx @@ -10,11 +10,13 @@ import { Badge } from "@/components/Badge/Badge"; import { Panel } from "@/components/Panel/Panel"; import { VotePanel, type VoteState } from "@/components/VotePanel/VotePanel"; import { + apiFetch, apiUrl, startVoteRound, tally as tallyVote, getTally, endVoteRound, + getSessionIds, type TallyResult, } from "@/signatures/voteSession"; import { @@ -224,12 +226,14 @@ function QRPanel({ function VoterListPanel({ voters, loading, + selfUuuid, onRemove, onRemoveAll, onReload, }: { voters: VoterInfo[]; loading: boolean; + selfUuuid: string | null; onRemove: (uuid: string) => Promise; onRemoveAll: () => Promise; onReload: () => void; @@ -365,7 +369,7 @@ function VoterListPanel({ )} - {!v.is_host && ( + {v.uuid !== selfUuuid && (