enable sort with normalization

This commit is contained in:
Julian Krauser 2025-03-21 10:30:55 +01:00
parent 74a13e6dc2
commit 4d61e9ce7c
9 changed files with 120 additions and 16 deletions

View file

@ -54,6 +54,7 @@ export const useProtocolAgendaStore = defineStore("protocolAgenda", {
id: Number(res.data),
topic: "",
context: "",
sort: this.agenda.length,
protocolId: Number(protocolId),
});
})

View file

@ -55,6 +55,7 @@ export const useProtocolDecisionStore = defineStore("protocolDecision", {
id: Number(res.data),
topic: "",
context: "",
sort: this.decision.length,
protocolId: Number(protocolId),
});
})

View file

@ -58,6 +58,7 @@ export const useProtocolVotingStore = defineStore("protocolVoting", {
favour: 0,
abstain: 0,
against: 0,
sort: this.voting.length,
protocolId: Number(protocolId),
});
})