mirror of
https://github.com/haiwen/seahub.git
synced 2025-08-31 22:54:11 +00:00
Grid view support drag drop item to path (#6429)
* feature - drag and drop file to target path in grid view fix typo * update target path item background color when drag enter * fix bug - select-all checkbox is actived after the last item is moved to another path * fix bug - drag drop action conflict with multi-select by keyboard * remove console log * fix type error
This commit is contained in:
@@ -1912,7 +1912,7 @@ class LibContentView extends React.Component {
|
||||
this.setState({
|
||||
selectedDirentList: selectedDirentList,
|
||||
isDirentSelected: selectedDirentList.length > 0,
|
||||
isAllDirentSelected: selectedDirentList.length === newDirentList.length,
|
||||
isAllDirentSelected: newDirentList.length ? selectedDirentList.length === newDirentList.length : false,
|
||||
});
|
||||
};
|
||||
|
||||
|
Reference in New Issue
Block a user