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 5bd0dd9 commit 30e5b5bCopy full SHA for 30e5b5b
src/ChatWindow/RoomsList/RoomsList.vue
@@ -122,15 +122,18 @@ export default {
122
this.loadingMoreRooms = false
123
}
124
},
125
-
126
loadingRooms(val) {
127
if (val) this.infiniteState = null
128
129
130
loadingMoreRooms(val) {
131
this.$emit('loading-more-rooms', val)
132
133
+ roomsLoaded(val) {
+ if (val && this.infiniteState) {
+ this.loadingMoreRooms = false
134
+ this.infiniteState.complete()
135
+ }
136
+ },
137
room: {
138
immediate: true,
139
handler(val) {
0 commit comments