Skip to content

Commit 822b37e

Browse files
committed
(fix) singleRoom on mobile
1 parent bacb817 commit 822b37e

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/ChatWindow/ChatWindow.vue

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -120,7 +120,7 @@ export default {
120120
if (this.roomId) {
121121
const room = newVal.find(r => r.roomId === this.roomId)
122122
this.fetchRoom({ room })
123-
} else if (!this.isMobile) {
123+
} else if (!this.isMobile || this.singleRoom) {
124124
this.fetchRoom({ room: this.orderedRooms[0] })
125125
} else {
126126
this.showRoomsList = true

0 commit comments

Comments
 (0)