1
0
mirror of https://github.com/haiwen/seahub.git synced 2025-09-16 23:29:49 +00:00

fix word spelling bug

This commit is contained in:
shanshuirenjia
2022-04-11 17:27:02 +08:00
parent c82a57c3f4
commit eb505a6fcd

View File

@@ -226,7 +226,7 @@ class LibContentView extends React.Component {
if (this.state.currentMode === 'column') { if (this.state.currentMode === 'column') {
if (this.state.isViewFile) { if (this.state.isViewFile) {
this.updataColumnMarkdownData(path); this.updateColumnMarkdownData(path);
} else { } else {
seafileAPI.dirMetaData(repoID, path).then((res) => { seafileAPI.dirMetaData(repoID, path).then((res) => {
if (res.data.id !== dirID) { if (res.data.id !== dirID) {
@@ -277,7 +277,7 @@ class LibContentView extends React.Component {
}); });
} }
updataColumnMarkdownData = (filePath) => { updateColumnMarkdownData = (filePath) => {
let repoID = this.props.repoID; let repoID = this.props.repoID;
// update state // update state
this.setState({ this.setState({
@@ -324,7 +324,7 @@ class LibContentView extends React.Component {
// list used FileTags // list used FileTags
this.updateUsedRepoTags(); this.updateUsedRepoTags();
// list draft counts and revierw counts // list draft counts and review counts
if (isDocs) { if (isDocs) {
seafileAPI.getRepoDraftCounts(repoID).then(res => { seafileAPI.getRepoDraftCounts(repoID).then(res => {
this.setState({ this.setState({