1
0
mirror of https://github.com/haiwen/seahub.git synced 2025-09-08 18:30:53 +00:00

12.0 fix unselect dirs (#6204)

This commit is contained in:
Michael An
2024-06-15 08:52:02 +08:00
committed by GitHub
parent ba7c402c81
commit d35d96417e
3 changed files with 10 additions and 0 deletions

View File

@@ -304,6 +304,7 @@ img[src=""],img:not([src]) { /* for first loading img*/
align-items: center;
word-break: keep-all;
max-width: 80%;
height: 24px;
}
.path-container a, .path-container span {

View File

@@ -1,3 +1,7 @@
.cur-view-path .selected-dirents-toolbar {
height: 24px;
}
.cur-view-path .selected-dirents-toolbar .cur-view-path-btn {
margin-left: 0;
margin-right: 20px;

View File

@@ -1914,8 +1914,13 @@ class LibContentView extends React.Component {
};
unSelectDirent = () => {
const direntList = this.state.direntList.map(item => {
item.isSelected = false;
return item;
});
this.setState({
isDirentSelected: false,
direntList,
selectedDirentList: []
});
const dirent = {};