1
0
mirror of https://github.com/haiwen/seahub.git synced 2025-09-02 23:48:47 +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>
)}
</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>