fixed bug, welcher dafür zuständig wahr, dass nicht die richtigen einladungen bzw. übertragungen angezeigt wurden

This commit is contained in:
Tim Gröger 2020-06-06 15:49:17 +02:00
parent 87ecc5d0e2
commit 2061dfddec
2 changed files with 2 additions and 2 deletions

View File

@ -169,7 +169,7 @@ const mutations = {
var item = state.jobInvitesFromMe.find(item => { var item = state.jobInvitesFromMe.find(item => {
return item.id === jobinvite.id return item.id === jobinvite.id
}) })
state.jobInvitesFromMe.splice(item, 1) state.jobInvitesFromMe.splice(state.jobInvitesFromMe.indexOf(item), 1)
} }
} }

View File

@ -169,7 +169,7 @@ const mutations = {
var item = state.jobRequestsFromMe.find(item => { var item = state.jobRequestsFromMe.find(item => {
return item.id === jobrequest.id return item.id === jobrequest.id
}) })
state.jobRequestsFromMe.splice(item, 1) state.jobRequestsFromMe.splice(state.jobRequestsFromMe.indexOf(item), 1)
} }
} }