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

hide send share btn when press delete link btn

This commit is contained in:
Michael An
2019-05-17 11:14:40 +08:00
parent 9ac18635b5
commit 61282ab0a9

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>