mirror of
https://github.com/Ocelot-Social-Community/Ocelot-Social.git
synced 2025-12-13 07:46:06 +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 } }) => {
|
.then(({ data: { CreateRoom } }) => {
|
||||||
this.fetchRooms({ room: CreateRoom, options: { refetch: true } })
|
this.fetchRooms({ room: CreateRoom, options: { refetch: true } })
|
||||||
this.roomId = CreateRoom.id
|
this.selectedRoom = CreateRoom
|
||||||
this.$emit('show-chat', CreateRoom.id)
|
this.$emit('show-chat', CreateRoom.id)
|
||||||
})
|
})
|
||||||
.catch((error) => {
|
.catch((error) => {
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user