Change openCreation in case of tab open.

This commit is contained in:
elweyn 2023-03-09 20:19:01 +01:00
parent 3191b3333a
commit fe560ff319

View File

@ -410,6 +410,9 @@ export default {
update({ adminListAllContributions }) { update({ adminListAllContributions }) {
this.rows = adminListAllContributions.contributionCount this.rows = adminListAllContributions.contributionCount
this.items = adminListAllContributions.contributionList this.items = adminListAllContributions.contributionList
if (this.statusFilter === FILTER_TAB_MAP[0]) {
this.$store.commit('setOpenCreations', adminListAllContributions.contributionCount)
}
}, },
error({ message }) { error({ message }) {
this.toastError(message) this.toastError(message)