mirror of
https://github.com/PR0M3TH3AN/bitvid.git
synced 2026-11-08 05:43:04 +00:00
Fix sidebar loading spinners for videos and history
This commit is contained in:
1 parent
1749351fa2
commit
b2ceb197f2
2 files changed
+23
-14
No files matched your search
@@ -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…"
|
||||
);
|
||||
|
||||
Reference in new issue
Block a user