From 7adaa050bd8989e6719967c2d075beac979520ba Mon Sep 17 00:00:00 2001 From: Maksim Sukharev Date: Thu, 25 Jan 2024 10:47:30 +0100 Subject: [PATCH] fix(participantStore): update the whole participant object Signed-off-by: Maksim Sukharev --- src/store/participantsStore.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/store/participantsStore.js b/src/store/participantsStore.js index 5ebfa531d590..7d54a2bf084c 100644 --- a/src/store/participantsStore.js +++ b/src/store/participantsStore.js @@ -317,7 +317,7 @@ const mutations = { updateParticipant(state, { token, attendeeId, updatedData }) { if (state.attendees[token] && state.attendees[token][attendeeId]) { - state.attendees[token][attendeeId] = Object.assign(state.attendees[token][attendeeId], updatedData) + state.attendees[token][attendeeId] = Object.assign({}, state.attendees[token][attendeeId], updatedData) } else { console.error('Error while updating the participant') }