From 0b64fce5aa5dcc8043e9f694d38879490fc88cf1 Mon Sep 17 00:00:00 2001 From: elweyn Date: Thu, 20 Jul 2023 12:19:32 +0200 Subject: [PATCH] Add selectedRoom equaling the createdRoom --- webapp/components/Chat/Chat.vue | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/webapp/components/Chat/Chat.vue b/webapp/components/Chat/Chat.vue index 0cc9bc28b..a0c7deedd 100644 --- a/webapp/components/Chat/Chat.vue +++ b/webapp/components/Chat/Chat.vue @@ -417,7 +417,7 @@ export default { }) .then(({ data: { CreateRoom } }) => { this.fetchRooms({ room: CreateRoom, options: { refetch: true } }) - this.roomId = CreateRoom.id + this.selectedRoom = CreateRoom this.$emit('show-chat', CreateRoom.id) }) .catch((error) => {