1
0
mirror of https://github.com/haiwen/seahub.git synced 2025-04-27 11:01:14 +00:00

Merge pull request #7745 from haiwen/fix/selection_state_reset_after_switch_mode

reset dirent selection state after switch mode
This commit is contained in:
Michael An 2025-04-19 09:38:31 +08:00 committed by GitHub
commit d733bbccc8
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -1098,7 +1098,7 @@ class LibContentView extends React.Component {
this.loadSidePanel(this.state.path);
}
this.isNeedUpdateHistoryState = false;
this.setState({ currentMode: mode });
this.setState({ currentMode: mode, isDirentSelected: false });
this.showDir(path);
};