mirror of
https://github.com/PR0M3TH3AN/bitvid.git
synced 2026-11-06 04:42:57 +00:00
Fix watch history ensureInitialLoad reset
This commit is contained in:
1 parent
53a8800eca
commit
8a6e169471
1 file changed
+7
@@ -305,7 +305,14 @@ export function createWatchHistoryRenderer(config = {}) {
|
||||
}
|
||||
|
||||
if (!state.resolvedVideos.length && !state.isLoading) {
|
||||
if (!state.hasMore) {
|
||||
state.hasMore = true;
|
||||
}
|
||||
await loadNextBatch({ initial: true });
|
||||
|
||||
if (state.hasMore && !state.observer && !state.scrollListener) {
|
||||
attachObservers();
|
||||
}
|
||||
}
|
||||
},
|
||||
async loadMore() {
|
||||
|
||||
Reference in new issue
Block a user