fix: Pending Creations are Updated Without Page Reload

This commit is contained in:
Moriz Wahl 2021-12-07 13:57:50 +01:00
parent 5fbdec550c
commit 10df58071a
2 changed files with 2 additions and 0 deletions

View File

@ -76,6 +76,7 @@ export default {
this.$apollo
.query({
query: getPendingCreations,
fetchPolicy: 'network-only',
})
.then((result) => {
this.$store.commit('resetOpenCreations')

View File

@ -62,6 +62,7 @@ export default {
this.$apollo
.query({
query: getPendingCreations,
fetchPolicy: 'network-only',
})
.then((result) => {
this.$store.commit('setOpenCreations', result.data.getPendingCreations.length)