From 814bb65ffe94a9cbf60ebb8e27fc068b9a4c1b8f Mon Sep 17 00:00:00 2001 From: thePR0M3TH3AN <53631862+PR0M3TH3AN@users.noreply.github.com> Date: Tue, 7 Oct 2025 19:03:41 -0400 Subject: [PATCH] Fix profile modal teardown state reset --- js/app.js | 5 +++++ js/ui/profileModalController.js | 1 + 2 files changed, 6 insertions(+) diff --git a/js/app.js b/js/app.js index 72841bff..9382085d 100644 --- a/js/app.js +++ b/js/app.js @@ -1284,6 +1284,11 @@ class Application { return pane; }, setActivePane: (pane) => { + if (pane === null) { + this.activeProfilePane = null; + return this.activeProfilePane; + } + const normalized = typeof pane === "string" && pane.trim() ? pane.trim().toLowerCase() diff --git a/js/ui/profileModalController.js b/js/ui/profileModalController.js index 1b030def..541fb23d 100644 --- a/js/ui/profileModalController.js +++ b/js/ui/profileModalController.js @@ -3761,6 +3761,7 @@ export class ProfileModalController { ); } this.profileHistoryRenderer = null; + this.profileHistoryRendererConfig = null; } this.setActivePane(null);