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 c08028d commit ac92263Copy full SHA for ac92263
src/ChatWindow/ChatWindow.vue
@@ -125,6 +125,8 @@ export default {
125
rooms: {
126
immediate: true,
127
handler(newVal, oldVal) {
128
+ if (!newVal[0]) return (this.showRoomsList = true)
129
+
130
if (newVal[0] && (!oldVal || newVal.length !== oldVal.length)) {
131
if (this.roomId) {
132
const room = newVal.find(r => r.roomId === this.roomId)
0 commit comments