1
0
mirror of https://github.com/haiwen/seahub.git synced 2025-09-02 15:38:15 +00:00

fix: not reload after upload file(s) (#6911)

This commit is contained in:
Jerry Ren
2024-10-16 12:16:05 +08:00
committed by GitHub
parent 43a26b2d8b
commit 526bfe8557

View File

@@ -1657,10 +1657,6 @@ class LibContentView extends React.Component {
if (this.state.isTreePanelShown) { if (this.state.isTreePanelShown) {
this.addNodeToTree(dirent.name, this.state.path, dirent.type); this.addNodeToTree(dirent.name, this.state.path, dirent.type);
} }
if (direntObject.type !== 'dir') {
this.loadDirentList(this.state.path);
}
} }
}; };