Merge pull request #1160 from gradido/fix-update-pending-creations

fix: Pending Creations are Updated Without Page Reload
This commit is contained in:
Moriz Wahl 2021-12-08 12:09:19 +01:00 committed by GitHub
commit 5e5d03a7ba
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
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)