mirror of
https://github.com/haiwen/seahub.git
synced 2025-09-22 11:57:34 +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) => {
|
||||
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});
|
||||
}
|
||||
|
||||
|
Reference in New Issue
Block a user