diff --git a/admin/src/pages/CreationConfirm.vue b/admin/src/pages/CreationConfirm.vue index ffefe5d3f..a85ca6b04 100644 --- a/admin/src/pages/CreationConfirm.vue +++ b/admin/src/pages/CreationConfirm.vue @@ -95,11 +95,8 @@ export default { this.item = item }, updateState(id) { - this.pendingCreations.find((value) => { - value.state = 'IN_PROGRESS' - value.messageCount = value.messageCount + 1 - return null - }) + this.pendingCreations.find((obj) => obj.id === id).state = 'IN_PROGRESS' + this.pendingCreations.find((obj) => obj.id === id).obj.messagesCount++ }, }, computed: { diff --git a/frontend/src/components/Contributions/ContributionListItem.vue b/frontend/src/components/Contributions/ContributionListItem.vue index 03f025d51..3fd20a5c4 100644 --- a/frontend/src/components/Contributions/ContributionListItem.vue +++ b/frontend/src/components/Contributions/ContributionListItem.vue @@ -52,7 +52,7 @@ > -
+
-
+