Align sidebar loading indicators and history heading

This commit is contained in:
thePR0M3TH3AN committed 2025-10-01 13:42:50 -04:00
1 parent 259bd3b281
commit 284bab6cff
8 files changed
+97 -36

No files matched your search

+3
View File
@@ -9,6 +9,7 @@ import {
buildSubscriptionListEvent,
SUBSCRIPTION_LIST_IDENTIFIER,
} from "./nostrEventSchemas.js";
import { getSidebarLoadingMarkup } from "./sidebarLoading.js";
function getAbsoluteShareUrl(nevent) {
if (!nevent) {
@@ -226,6 +227,8 @@ class SubscriptionsManager {
return;
}
container.innerHTML = getSidebarLoadingMarkup("Fetching subscriptions…");
// Gather all videos
const videos = await this.fetchSubscribedVideos(channelHexes);
this.renderSameGridStyle(videos, containerId);