1
0
mirror of https://github.com/haiwen/seahub.git synced 2025-09-01 07:01:12 +00:00

Merge pull request #3633 from haiwen/fix-warnings

fix recent warnings
This commit is contained in:
Daniel Pan
2019-06-11 10:08:47 +08:00
committed by GitHub
16 changed files with 53 additions and 53 deletions

View File

@@ -180,7 +180,7 @@ class Item extends Component {
});
// TODO: show feedback msg
}).catch((error) => {
// TODO: show feedback msg
// TODO: show feedback msg
});
}
@@ -196,7 +196,7 @@ class Item extends Component {
} else {
seafileAPI.starItem(this.props.data.repo_id, '/').then(() => {
this.setState({isStarred: !this.state.isStarred});
})
});
}
}
@@ -266,7 +266,7 @@ class Item extends Component {
{(isPro && data.is_admin) &&
<a href="#" className={shareIconClassName} title={gettext('Share')} onClick={this.share}></a>
}
<a href="#" className={leaveShareIconClassName} title={gettext("Leave Share")} onClick={this.leaveShare}></a>
<a href="#" className={leaveShareIconClassName} title={gettext('Leave Share')} onClick={this.leaveShare}></a>
</td>
</tr>
{this.state.isShowSharedDialog && (