Skip to content

Commit

Permalink
fix(layout): add no cache policy
Browse files Browse the repository at this point in the history
  • Loading branch information
arsenijesavic committed Sep 26, 2023
1 parent 3de5b72 commit 9fb1367
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions src/layouts/Layout.vue
Original file line number Diff line number Diff line change
Expand Up @@ -190,8 +190,8 @@ export default {
this.$store.commit('dao/setDAO', data?.queryDao[0])
this.$store.dispatch('dao/setTheme')
this.state = STATE.READY
}
// fetchPolicy: 'no-cache'
},
fetchPolicy: 'no-cache'
// pollInterval: 300 // TODO: Swap with subscribe once dgraph is ready
},
Expand All @@ -201,8 +201,8 @@ export default {
variables() { return { daoUrl: this.dhoname } },
async result (res) {
this.$store.commit('dao/setPlan', res?.data?.activePlan)
}
// fetchPolicy: 'no-cache'
},
fetchPolicy: 'no-cache'
}
},
Expand Down

0 comments on commit 9fb1367

Please sign in to comment.