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:
@@ -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 {
|
||||
|
@@ -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;
|
||||
|
@@ -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 = {};
|
||||
|
Reference in New Issue
Block a user