mirror of
https://github.com/haiwen/seahub.git
synced 2025-09-01 15:09:14 +00:00
unStarItem -> unstarItem (#3181)
This commit is contained in:
@@ -327,7 +327,7 @@ class SharedRepoListItem extends React.Component {
|
||||
|
||||
onStarRepo = () => {
|
||||
if (this.state.isStarred) {
|
||||
seafileAPI.unStarItem(this.props.repo.repo_id, '/').then(() => {
|
||||
seafileAPI.unstarItem(this.props.repo.repo_id, '/').then(() => {
|
||||
this.setState({isStarred: !this.state.isStarred});
|
||||
});
|
||||
} else {
|
||||
|
Reference in New Issue
Block a user