mirror of
https://github.com/haiwen/seahub.git
synced 2025-09-22 20:08:19 +00:00
fix bug when sending share link email (#5247)
Co-authored-by: lian <lian@seafile.com>
This commit is contained in:
@@ -166,7 +166,11 @@ class MylibRepoListItem extends React.Component {
|
|||||||
}
|
}
|
||||||
|
|
||||||
onShareToggle = (e) => {
|
onShareToggle = (e) => {
|
||||||
e.preventDefault();
|
// when close share dialog after send share link email,
|
||||||
|
// there is no event
|
||||||
|
if (e != undefined) {
|
||||||
|
e.preventDefault();
|
||||||
|
}
|
||||||
this.setState({isShareDialogShow: !this.state.isShareDialogShow});
|
this.setState({isShareDialogShow: !this.state.isShareDialogShow});
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Reference in New Issue
Block a user