From 34bb207e8ecdf80c59f6baf85ab61d06b93d3f35 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Wolfgang=20Hu=C3=9F?= Date: Thu, 13 Jul 2023 09:30:19 +0200 Subject: [PATCH] Change store commits into 'mapMutations' on user profile --- webapp/pages/profile/_id/_slug.vue | 9 +++++++-- 1 file changed, 7 insertions(+), 2 deletions(-) diff --git a/webapp/pages/profile/_id/_slug.vue b/webapp/pages/profile/_id/_slug.vue index f17a96d94..ce97cd53a 100644 --- a/webapp/pages/profile/_id/_slug.vue +++ b/webapp/pages/profile/_id/_slug.vue @@ -85,7 +85,7 @@ content: $t('chat.userProfileButton.tooltip', { name: userName }), placement: 'bottom-start', }" - @click="$store.commit('chat/SET_OPEN_CHAT', { showChat: true, roomID: user.id })" + @click="showChat({ showChat: true, roomID: user.id })" > {{ $t('chat.userProfileButton.label') }} @@ -182,6 +182,7 @@