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

fix warnings

This commit is contained in:
Michael An
2019-06-04 17:59:54 +08:00
parent 7bcb942ef6
commit e4fde3d7a8
16 changed files with 53 additions and 53 deletions

View File

@@ -179,7 +179,7 @@ class Item extends Component {
});
// TODO: show feedback msg
}).catch((error) => {
// TODO: show feedback msg
// TODO: show feedback msg
});
}
@@ -195,7 +195,7 @@ class Item extends Component {
} else {
seafileAPI.starItem(this.props.data.repo_id, '/').then(() => {
this.setState({isStarred: !this.state.isStarred});
})
});
}
}
@@ -265,7 +265,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 && (