1
0
mirror of https://github.com/haiwen/seahub.git synced 2025-08-30 13:23:14 +00:00

Merge pull request #3485 from haiwen/share-dialog

hide send share button when press delete link button
This commit is contained in:
Daniel Pan 2019-05-17 11:20:34 +08:00 committed by GitHub
commit 96923d49ea
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -328,8 +328,10 @@ class GenerateShareLink extends React.Component {
</FormGroup>
)}
</Form>
{!this.state.isShowSendLink ?
<Button onClick={this.toggleSendLink} className='mr-2'>{gettext('Send')}</Button> :
{(!this.state.isShowSendLink && !this.state.isNoticeMessageShow) &&
<Button onClick={this.toggleSendLink} className='mr-2'>{gettext('Send')}</Button>
}
{this.state.isShowSendLink &&
<Fragment>
<Form>
<FormGroup>