Fix profile modal teardown state reset

This commit is contained in:
thePR0M3TH3AN committed 2025-10-07 19:03:41 -04:00
1 parent 749818fa13
commit 814bb65ffe
2 files changed
+6

No files matched your search

+5
View File
@@ -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()
+1
View File
@@ -3761,6 +3761,7 @@ export class ProfileModalController {
);
}
this.profileHistoryRenderer = null;
this.profileHistoryRendererConfig = null;
}
this.setActivePane(null);