Remove comments
This commit is contained in:
@ -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) {
|
||||||
|
Reference in New Issue
Block a user