mirror of
https://github.com/haiwen/seahub.git
synced 2025-09-03 16:10:26 +00:00
@@ -52,7 +52,7 @@ class DirColumnFile extends React.Component {
|
||||
|
||||
render() {
|
||||
const { currentDirent } = this.props;
|
||||
const { name } = currentDirent;
|
||||
const { name } = currentDirent || {};
|
||||
|
||||
if (this.props.isFileLoadedErr) {
|
||||
return (
|
||||
|
Reference in New Issue
Block a user