fix: protocol sync
This commit is contained in:
parent
87cb4252ec
commit
d1ff313754
3 changed files with 3 additions and 3 deletions
|
@ -71,7 +71,7 @@ export const useProtocolAgendaStore = defineStore("protocolAgenda", {
|
|||
|
||||
await http
|
||||
.patch(`/admin/protocol/${protocolId}/synchronize/agenda`, {
|
||||
agenda: differenceWith(this.agenda, this.origin, isEqual),
|
||||
agenda: this.agenda,
|
||||
})
|
||||
.then((res) => {
|
||||
this.syncingProtocolAgenda = "synced";
|
||||
|
|
|
@ -72,7 +72,7 @@ export const useProtocolDecisionStore = defineStore("protocolDecision", {
|
|||
|
||||
await http
|
||||
.patch(`/admin/protocol/${protocolId}/synchronize/decisions`, {
|
||||
decisions: differenceWith(this.decision, this.origin, isEqual),
|
||||
decisions: this.decision,
|
||||
})
|
||||
.then((res) => {
|
||||
this.syncingProtocolDecision = "synced";
|
||||
|
|
|
@ -75,7 +75,7 @@ export const useProtocolVotingStore = defineStore("protocolVoting", {
|
|||
|
||||
await http
|
||||
.patch(`/admin/protocol/${protocolId}/synchronize/votings`, {
|
||||
votings: differenceWith(this.voting, this.origin, isEqual),
|
||||
votings: this.voting,
|
||||
})
|
||||
.then((res) => {
|
||||
this.syncingProtocolVoting = "synced";
|
||||
|
|
Loading…
Add table
Reference in a new issue