mirror of
https://github.com/haiwen/seahub.git
synced 2025-09-27 15:54:39 +00:00
clear selected item when clicking current parent folder node (#7987)
Co-authored-by: zhouwenxuan <aries@Mac.local>
This commit is contained in:
@@ -2127,6 +2127,11 @@ class LibContentView extends React.Component {
|
||||
this.setState({
|
||||
isDirentSelected: false,
|
||||
isAllDirentSelected: false,
|
||||
selectedDirentList: [],
|
||||
direntList: this.state.direntList.map(item => {
|
||||
item.isSelected = false;
|
||||
return item;
|
||||
}),
|
||||
currentMode: nextMode,
|
||||
currentDirent: null,
|
||||
});
|
||||
|
Reference in New Issue
Block a user