Remove comments

This commit is contained in:
2025-01-14 12:51:53 +01:00
parent c878b33649
commit e102d01bff

View File

@ -120,7 +120,7 @@
areVotersKnown: true, areVotersKnown: true,
maxVoters: 0, maxVoters: 0,
expiresAt: "", expiresAt: "",
choices: ["", ""] // Start with two empty choices choices: ["", ""]
}, },
createdElectionId: 0, createdElectionId: 0,
voterIdentities: [], voterIdentities: [],
@ -128,11 +128,11 @@
errorDetails: {}, errorDetails: {},
addChoice() { addChoice() {
this.election.choices.push(""); // Add a new empty choice this.election.choices.push("");
}, },
removeChoice(index) { removeChoice(index) {
this.election.choices.splice(index, 1); // Remove choice by index this.election.choices.splice(index, 1);
}, },
async copyCode(code) { async copyCode(code) {