mirror of
https://github.com/IT4Change/gradido.git
synced 2025-12-13 07:45:54 +00:00
change state if messagesCount 0
This commit is contained in:
parent
efaf02facc
commit
61d763030a
@ -95,7 +95,10 @@ export default {
|
|||||||
this.item = item
|
this.item = item
|
||||||
},
|
},
|
||||||
updateState(id) {
|
updateState(id) {
|
||||||
this.pendingCreations.find((item) => item.id === id).state = 'IN_PROGRESS'
|
this.pendingCreations.find((value) => {
|
||||||
|
value.state = 'IN_PROGRESS'
|
||||||
|
value.messageCount = value.messageCount + 1
|
||||||
|
})
|
||||||
},
|
},
|
||||||
},
|
},
|
||||||
computed: {
|
computed: {
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user