mirror of
https://github.com/haiwen/seahub.git
synced 2025-08-31 22:54:11 +00:00
[a11y] group repos, 'shared with all': enabled 'keyboard access'
This commit is contained in:
@@ -169,7 +169,8 @@ class Item extends Component {
|
||||
this.setState({isShowSharedDialog: false});
|
||||
}
|
||||
|
||||
onToggleStarRepo = () => {
|
||||
onToggleStarRepo = (e) => {
|
||||
e.preventDefault();
|
||||
const repoName = this.props.data.repo_name;
|
||||
if (this.state.isStarred) {
|
||||
seafileAPI.unstarItem(this.props.data.repo_id, '/').then(() => {
|
||||
|
Reference in New Issue
Block a user