mirror of
https://github.com/haiwen/seahub.git
synced 2025-09-01 07:01:12 +00:00
fix dirent key={index} bug (#6754)
This commit is contained in:
@@ -551,6 +551,10 @@ class LibContentView extends React.Component {
|
||||
};
|
||||
|
||||
loadDirentList = (path) => {
|
||||
this.setState({
|
||||
isDirentListLoading: true,
|
||||
direntList: [],
|
||||
});
|
||||
let repoID = this.props.repoID;
|
||||
seafileAPI.listDir(repoID, path, { 'with_thumbnail': true }).then(res => {
|
||||
let direntList = [];
|
||||
|
Reference in New Issue
Block a user