mirror of
https://github.com/haiwen/seahub.git
synced 2025-09-06 17:33:18 +00:00
fix bugs
This commit is contained in:
@@ -249,9 +249,11 @@ class Draft extends React.Component {
|
||||
}
|
||||
|
||||
getDraftInfo = () => {
|
||||
seafileAPI.getFileInfo(draftRepoID, draftFilePath).then((res) => {
|
||||
this.setState({ draftInfo: res.data });
|
||||
});
|
||||
if (draftStatus === 'open') {
|
||||
seafileAPI.getFileInfo(draftRepoID, draftFilePath).then((res) => {
|
||||
this.setState({ draftInfo: res.data });
|
||||
});
|
||||
}
|
||||
}
|
||||
|
||||
getChangedNodes = () => {
|
||||
|
Reference in New Issue
Block a user