Skip to content

Commit

Permalink
[SPRINT/ballot-slides] (#61)
Browse files Browse the repository at this point in the history
  • Loading branch information
av-mads authored Nov 23, 2023
2 parents f958c25 + b08f5be commit 4c1a77a
Show file tree
Hide file tree
Showing 2 changed files with 11 additions and 5 deletions.
10 changes: 10 additions & 0 deletions client/src/assets/translations.ts
Original file line number Diff line number Diff line change
Expand Up @@ -153,6 +153,11 @@ export const fallbackMessages = {
author: "Voter",
info: "Voter and Digital Ballot Box have exchanged cryptographic information establishing trust.",
},
VoterSessionAdjudicationItem: {
type: "Voter session adjudication",
author: "Election Official",
info: "A registered voter session has been adjudicated.",
},
aria_labels: {
activity_type: "Activity",
activity_registered: "Activity registered at",
Expand Down Expand Up @@ -204,6 +209,11 @@ export const fallbackMessages = {
author: "You",
details: "You have authenticated yourself and signed in.",
},
VoterSessionAdjudicationItem: {
type: "Session adjudication",
author: "Election Official",
details: "Your session has been adjudicated.",
},
},
tracked_ballot_manager: {
currently_tracking: "You are currently tracking",
Expand Down
6 changes: 1 addition & 5 deletions client/src/stores/useBallotStore.ts
Original file line number Diff line number Diff line change
Expand Up @@ -6,10 +6,6 @@ import type { Ballot } from "../Types";
export default defineStore("useBallotStore", () => {
const ballot = ref<Ballot>(null);

const setBallot = (newBallot: Ballot) => {
ballot.value = newBallot;
};

function resetBallot() {
ballot.value = null;
}
Expand All @@ -33,5 +29,5 @@ export default defineStore("useBallotStore", () => {
}
}

return { ballot, setBallot, loadBallot };
return { ballot, loadBallot };
});

0 comments on commit 4c1a77a

Please sign in to comment.