mirror of
https://github.com/PR0M3TH3AN/bitvid.git
synced 2026-10-27 07:52:24 +00:00
Fix profile modal teardown state reset
This commit is contained in:
1 parent
749818fa13
commit
814bb65ffe
2 files changed
+6
No files matched your search
@@ -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()
|
||||
|
||||
@@ -3761,6 +3761,7 @@ export class ProfileModalController {
|
||||
);
|
||||
}
|
||||
this.profileHistoryRenderer = null;
|
||||
this.profileHistoryRendererConfig = null;
|
||||
}
|
||||
|
||||
this.setActivePane(null);
|
||||
|
||||
Reference in new issue
Block a user