From ff04fcbd4b32b1199c14ce1be52943ffa1386bcd Mon Sep 17 00:00:00 2001 From: thePR0M3TH3AN <53631862+PR0M3TH3AN@users.noreply.github.com> Date: Sat, 20 Jun 2026 14:37:30 -0400 Subject: [PATCH] fix(my-videos): use lowercase pane key so the tab opens (not Account) selectPane lowercases the requested name, but the My Videos pane/nav were registered under the camelCase key "myVideos". Every other pane key is a single lowercase word, so this latent mismatch only surfaced now: clicking My Videos resolved "myvideos" against panes that only had "myVideos", failed the availableKeys check, and fell back to Account. Register the pane/nav/selectPane hook under "myvideos". Co-Authored-By: Claude Opus 4.8 --- js/ui/profileModalController.js | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/js/ui/profileModalController.js b/js/ui/profileModalController.js index 7eca4a0f..47877445 100644 --- a/js/ui/profileModalController.js +++ b/js/ui/profileModalController.js @@ -679,7 +679,7 @@ export class ProfileModalController { this.navButtons.relays = document.getElementById("profileNavRelays") || null; this.navButtons.wallet = document.getElementById("profileNavWallet") || null; this.navButtons.storage = document.getElementById("profileNavStorage") || null; - this.navButtons.myVideos = + this.navButtons.myvideos = document.getElementById("profileNavMyVideos") || null; this.navButtons.hashtags = document.getElementById("profileNavHashtags") || null; @@ -704,7 +704,7 @@ export class ProfileModalController { this.panes.relays = document.getElementById("profilePaneRelays") || null; this.panes.wallet = document.getElementById("profilePaneWallet") || null; this.panes.storage = document.getElementById("profilePaneStorage") || null; - this.panes.myVideos = + this.panes.myvideos = document.getElementById("profilePaneMyVideos") || null; this.panes.hashtags = document.getElementById("profilePaneHashtags") || null; this.panes.subscriptions = @@ -3280,7 +3280,7 @@ export class ProfileModalController { this.walletController.refreshWalletPaneState(); } else if (target === "storage") { this.storageController.populateStoragePane(); - } else if (target === "myVideos") { + } else if (target === "myvideos") { void this.myVideosController.populate({ forceFetch: true }); } else if (target === "hashtags") { this.hashtagController.populateHashtagPreferences();