mirror of
https://github.com/haiwen/seahub.git
synced 2025-08-02 07:47:32 +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:
commit
d733bbccc8
@ -1098,7 +1098,7 @@ class LibContentView extends React.Component {
|
|||||||
this.loadSidePanel(this.state.path);
|
this.loadSidePanel(this.state.path);
|
||||||
}
|
}
|
||||||
this.isNeedUpdateHistoryState = false;
|
this.isNeedUpdateHistoryState = false;
|
||||||
this.setState({ currentMode: mode });
|
this.setState({ currentMode: mode, isDirentSelected: false });
|
||||||
this.showDir(path);
|
this.showDir(path);
|
||||||
};
|
};
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user