hide save button while loading on EditProfileDialog

pull/1512/head
Audric Ackermann 4 years ago
parent aac54e6045
commit 694be0cd55
No known key found for this signature in database
GPG Key ID: 999F434D76324AD4

@ -126,13 +126,15 @@ export class EditProfileDialog extends React.Component<Props, State> {
}} }}
/> />
) : ( ) : (
<SessionButton !this.state.loading && (
text={window.i18n('save')} <SessionButton
buttonType={SessionButtonType.BrandOutline} text={window.i18n('save')}
buttonColor={SessionButtonColor.Green} buttonType={SessionButtonType.BrandOutline}
onClick={this.onClickOK} buttonColor={SessionButtonColor.Green}
disabled={this.state.loading} onClick={this.onClickOK}
/> disabled={this.state.loading}
/>
)
)} )}
<div className="spacer-lg" /> <div className="spacer-lg" />

Loading…
Cancel
Save