Fix watch history ensureInitialLoad reset

This commit is contained in:
thePR0M3TH3AN committed 2025-09-30 12:11:43 -04:00
1 parent 53a8800eca
commit 8a6e169471
1 file changed
+7
+7
View File
@@ -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() {