Skip to content

Commit 01e7b2c

Browse files
committed
fix: load more rooms when less than minimumVisibleRooms
1 parent 612668a commit 01e7b2c

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

package.json

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -39,7 +39,8 @@
3939
"lint": "eslint --ext .js,.vue --ignore-path .gitignore --fix src",
4040
"reset": "rm -rf node_modules && rm -rf package-lock.json && npm i",
4141
"reset-all": "cd demo && npm run reset-all",
42-
"pull-master": "git pull origin master --no-edit --no-ff"
42+
"pull-main": "git pull origin main --no-edit --no-ff",
43+
"prepare": "npm run build"
4344
},
4445
"typings": "types/index.d.ts",
4546
"files": [

src/lib/RoomsList/RoomsList.vue

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -160,7 +160,6 @@ export default {
160160
// visible, automatically load more until either the list is "full"
161161
// or roomsLoaded becomes true.
162162
if (!this.loadingMoreRooms && visibleRooms.length < this.minimumVisibleRooms) {
163-
this.loadingMoreRooms = true
164163
this.loadMoreRooms()
165164
}
166165
}

0 commit comments

Comments
 (0)