mirror of
https://github.com/Ocelot-Social-Community/Ocelot-Social.git
synced 2025-12-12 23:35:58 +00:00
Add selectedRoom equaling the createdRoom
This commit is contained in:
parent
883d7d89ab
commit
0b64fce5aa
@ -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) => {
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user