chnaged simpler counting, number of open creations

This commit is contained in:
ogerly 2021-11-26 18:02:18 +01:00
parent f2c31b7d68
commit 30ba6e473b

View File

@ -76,7 +76,7 @@ export default {
.then((result) => {
this.confirmResult = result.data.getPendingCreations
this.$store.commit('resetOpenCreations')
this.$store.commit('openCreationsPlus', Object.keys(this.confirmResult).length)
this.$store.commit('openCreationsPlus', result.data.getPendingCreations.length)
})
.catch((error) => {
this.$toasted.error(error.message)