Fix sidebar loading spinners for videos and history

This commit is contained in:
thePR0M3TH3AN committed 2025-10-01 14:25:37 -04:00
1 parent 1749351fa2
commit b2ceb197f2
2 files changed
+23 -14

No files matched your search

+5 -3
View File
@@ -7720,9 +7720,11 @@ class bitvidApp {
}
if (this.videoList) {
if (this._lastRenderedVideoListElement !== this.videoList) {
this.lastRenderedVideoSignature = null;
}
// Always reset the cached signature before showing the loading state so the
// next render isn't skipped when the incoming payload matches the last
// successful render. Without this, the spinner could remain visible for
// returning users who already have the latest list cached.
this.lastRenderedVideoSignature = null;
this.videoList.innerHTML = getSidebarLoadingMarkup(
"Fetching recent videos…"
);