1
0
mirror of https://github.com/haiwen/seahub.git synced 2025-08-31 06:34:40 +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

View File

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