enable sort with normalization
This commit is contained in:
parent
74a13e6dc2
commit
4d61e9ce7c
9 changed files with 120 additions and 16 deletions
|
@ -54,6 +54,7 @@ export const useProtocolAgendaStore = defineStore("protocolAgenda", {
|
|||
id: Number(res.data),
|
||||
topic: "",
|
||||
context: "",
|
||||
sort: this.agenda.length,
|
||||
protocolId: Number(protocolId),
|
||||
});
|
||||
})
|
||||
|
|
|
@ -55,6 +55,7 @@ export const useProtocolDecisionStore = defineStore("protocolDecision", {
|
|||
id: Number(res.data),
|
||||
topic: "",
|
||||
context: "",
|
||||
sort: this.decision.length,
|
||||
protocolId: Number(protocolId),
|
||||
});
|
||||
})
|
||||
|
|
|
@ -58,6 +58,7 @@ export const useProtocolVotingStore = defineStore("protocolVoting", {
|
|||
favour: 0,
|
||||
abstain: 0,
|
||||
against: 0,
|
||||
sort: this.voting.length,
|
||||
protocolId: Number(protocolId),
|
||||
});
|
||||
})
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue