mirror of
https://github.com/lllin000/PaperForge.git
synced 2026-07-22 17:00:23 +00:00
fix(dashboard): reset expanded state on mode switch
- Clear _techDetailsExpanded when switching modes to prevent stale state - Ensures technical details starts collapsed for each new paper
This commit is contained in:
parent
5e0e577b77
commit
11b090a69a
1 changed files with 1 additions and 0 deletions
|
|
@ -1177,6 +1177,7 @@ class PaperForgeStatusView extends ItemView {
|
|||
|
||||
this._currentMode = mode;
|
||||
this._currentFilePath = filePath;
|
||||
this._techDetailsExpanded = false; // reset disclosure state on mode switch
|
||||
|
||||
// Clear existing content (D-06)
|
||||
this._contentEl.empty();
|
||||
|
|
|
|||
Loading…
Reference in a new issue