1
0
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:
王健辉
2020-03-17 20:40:31 +08:00
committed by GitHub
parent 617e8f1ed6
commit cecdf31ae2
2 changed files with 2 additions and 1 deletions

View File

@@ -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});
}
}
}