From 2061dfddecbb5f16309d22138d952136075283a1 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Tim=20Gr=C3=B6ger?= Date: Sat, 6 Jun 2020 15:49:17 +0200 Subject: [PATCH] =?UTF-8?q?fixed=20bug,=20welcher=20daf=C3=BCr=20zust?= =?UTF-8?q?=C3=A4ndig=20wahr,=20dass=20nicht=20die=20richtigen=20einladung?= =?UTF-8?q?en=20bzw.=20=C3=BCbertragungen=20angezeigt=20wurden?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/store/modules/jobInvites.js | 2 +- src/store/modules/jobRequests.js | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/src/store/modules/jobInvites.js b/src/store/modules/jobInvites.js index f1b8f1f..3b7fc4d 100644 --- a/src/store/modules/jobInvites.js +++ b/src/store/modules/jobInvites.js @@ -169,7 +169,7 @@ const mutations = { var item = state.jobInvitesFromMe.find(item => { return item.id === jobinvite.id }) - state.jobInvitesFromMe.splice(item, 1) + state.jobInvitesFromMe.splice(state.jobInvitesFromMe.indexOf(item), 1) } } diff --git a/src/store/modules/jobRequests.js b/src/store/modules/jobRequests.js index 51f9d4f..07b005a 100644 --- a/src/store/modules/jobRequests.js +++ b/src/store/modules/jobRequests.js @@ -169,7 +169,7 @@ const mutations = { var item = state.jobRequestsFromMe.find(item => { return item.id === jobrequest.id }) - state.jobRequestsFromMe.splice(item, 1) + state.jobRequestsFromMe.splice(state.jobRequestsFromMe.indexOf(item), 1) } }