mirror of
https://github.com/haiwen/seahub.git
synced 2025-09-01 07:01:12 +00:00
[dir view] fixed 'selectedDirentList' state after moving dirents (#5654)
This commit is contained in:
@@ -1545,9 +1545,14 @@ class LibContentView extends React.Component {
|
||||
});
|
||||
|
||||
// Recalculate the state of the selection
|
||||
this.recaculateSelectedStateAfterDirentDeleted(name, direntList);
|
||||
//this.recaculateSelectedStateAfterDirentDeleted(name, direntList);
|
||||
|
||||
this.setState({direntList: direntList});
|
||||
this.setState({
|
||||
direntList: direntList,
|
||||
selectedDirentList: [],
|
||||
isDirentSelected: false,
|
||||
isAllDirentSelected: false,
|
||||
});
|
||||
this.updateReadmeMarkdown(direntList);
|
||||
};
|
||||
|
||||
|
Reference in New Issue
Block a user