diff --git a/admin-ui/src/component/ElectionCard.tsx b/admin-ui/src/component/ElectionCard.tsx index 50a937d..41d2746 100644 --- a/admin-ui/src/component/ElectionCard.tsx +++ b/admin-ui/src/component/ElectionCard.tsx @@ -180,29 +180,30 @@ export default function ElectionCard({ )} - {((!election.electionStatus || + {(!election.electionStatus || election.electionStatus === ElectionStatus.draft) && - !currentElection) || - (currentElection && - currentElection?.electionId !== election.electionId && - currentElection?.latMode !== 1 && - currentElection?.electionStatus !== ElectionStatus.open && ( - - - - ))} + }} + > + Set Current + + + )} {election?.electionStatus === ElectionStatus.inactive && // Current Election election?.testVotersSet && //Test voters are set