We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent d735213 commit 52f1ebdCopy full SHA for 52f1ebd
src/ChatWindow/ChatWindow.vue
@@ -125,7 +125,7 @@ export default {
125
roomId: {
126
immediate: true,
127
handler(val) {
128
- if (!this.loadingRooms && this.rooms && this.rooms.length) {
+ if (val && !this.loadingRooms && this.rooms.length) {
129
const room = this.rooms.find(r => r.roomId === val)
130
this.fetchRoom({ room })
131
}
0 commit comments