mirror of
https://github.com/haiwen/seahub.git
synced 2025-09-01 15:09:14 +00:00
fix no file history (#4483)
* fix no file history * remove useless warning
This commit is contained in:
@@ -118,6 +118,8 @@ class FileHistory extends React.Component {
|
||||
seafileAPI.listOldFileHistoryRecords(historyRepoID, filePath, this.state.nextCommit).then((res) => {
|
||||
this.initOldRecords(res.data);
|
||||
});
|
||||
} else {
|
||||
this.setState({isLoading: false});
|
||||
}
|
||||
}
|
||||
}
|
||||
|
Reference in New Issue
Block a user