Skip to content

Commit

Permalink
fix(proposals): add error policy all
Browse files Browse the repository at this point in the history
  • Loading branch information
arsenijesavic committed Mar 18, 2024
1 parent faa6527 commit 6461871
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion src/pages/proposals/ProposalList.vue
Original file line number Diff line number Diff line change
Expand Up @@ -439,8 +439,9 @@ export default {
user: this.account
}
},
errorPolicy: 'all',
fetchPolicy: 'no-cache',
pollInterval: 1000, // TODO: Swap with subscribe once dgraph is ready
// pollInterval: 1000, // TODO: Swap with subscribe once dgraph is ready
subscribeToMore: {
document: gql`subscription stageProposals($docId: String!, $first: Int, $offset: Int) { ${STAGED_PROPOSALS_QUERY} }`,
skip() { return !this.selectedDao?.docId },
Expand Down

0 comments on commit 6461871

Please sign in to comment.