Compare commits
No commits in common. "077847448340c323e8bb1ee578e3bee34538355d" and "132f5de5bee13082ea23b1c0a70a645dc7ffe3e4" have entirely different histories.
0778474483
...
132f5de5be
3 changed files with 3 additions and 12 deletions
|
@ -21,10 +21,7 @@ export const useProtocolAgendaStore = defineStore("protocolAgenda", {
|
||||||
},
|
},
|
||||||
getters: {
|
getters: {
|
||||||
detectedChangeProtocolAgenda: (state) =>
|
detectedChangeProtocolAgenda: (state) =>
|
||||||
!isEqual(
|
!isEqual(state.origin, state.agenda) && state.syncingProtocolAgenda != "syncing",
|
||||||
state.origin.sort((a, b) => a.id - b.id),
|
|
||||||
state.agenda.sort((a, b) => a.id - b.id)
|
|
||||||
) && state.syncingProtocolAgenda != "syncing",
|
|
||||||
},
|
},
|
||||||
actions: {
|
actions: {
|
||||||
setProtocolAgendaSyncingState(state: "synced" | "syncing" | "detectedChanges" | "failed") {
|
setProtocolAgendaSyncingState(state: "synced" | "syncing" | "detectedChanges" | "failed") {
|
||||||
|
|
|
@ -22,10 +22,7 @@ export const useProtocolDecisionStore = defineStore("protocolDecision", {
|
||||||
},
|
},
|
||||||
getters: {
|
getters: {
|
||||||
detectedChangeProtocolDecision: (state) =>
|
detectedChangeProtocolDecision: (state) =>
|
||||||
!isEqual(
|
!isEqual(state.origin, state.decision) && state.syncingProtocolDecision != "syncing",
|
||||||
state.origin.sort((a, b) => a.id - b.id),
|
|
||||||
state.decision.sort((a, b) => a.id - b.id)
|
|
||||||
) && state.syncingProtocolDecision != "syncing",
|
|
||||||
},
|
},
|
||||||
actions: {
|
actions: {
|
||||||
setProtocolDecisionSyncingState(state: "synced" | "syncing" | "detectedChanges" | "failed") {
|
setProtocolDecisionSyncingState(state: "synced" | "syncing" | "detectedChanges" | "failed") {
|
||||||
|
|
|
@ -22,10 +22,7 @@ export const useProtocolVotingStore = defineStore("protocolVoting", {
|
||||||
},
|
},
|
||||||
getters: {
|
getters: {
|
||||||
detectedChangeProtocolVoting: (state) =>
|
detectedChangeProtocolVoting: (state) =>
|
||||||
!isEqual(
|
!isEqual(state.origin, state.voting) && state.syncingProtocolVoting != "syncing",
|
||||||
state.origin.sort((a, b) => a.id - b.id),
|
|
||||||
state.voting.sort((a, b) => a.id - b.id)
|
|
||||||
) && state.syncingProtocolVoting != "syncing",
|
|
||||||
},
|
},
|
||||||
actions: {
|
actions: {
|
||||||
setProtocolVotingSyncingState(state: "synced" | "syncing" | "detectedChanges" | "failed") {
|
setProtocolVotingSyncingState(state: "synced" | "syncing" | "detectedChanges" | "failed") {
|
||||||
|
|
Loading…
Add table
Reference in a new issue