Add selectedRoom equaling the createdRoom

This commit is contained in:
elweyn 2023-07-20 12:19:32 +02:00
parent 883d7d89ab
commit 0b64fce5aa

View File

@ -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) => {