|
|
|
@ -54,11 +54,11 @@ class Header extends ImmutablePureComponent { |
|
|
|
|
if (isEditing) { |
|
|
|
|
action_buttons = ( |
|
|
|
|
<div className='account__header__account-note__buttons'> |
|
|
|
|
<button className='text-btn' tabIndex='0' onClick={this.props.onCancelAccountNote} disabled={isSubmitting}> |
|
|
|
|
<button className='icon-button' tabIndex='0' onClick={this.props.onCancelAccountNote} disabled={isSubmitting}> |
|
|
|
|
<Icon id='times' size={15} /> <FormattedMessage id='account_note.cancel' defaultMessage='Cancel' /> |
|
|
|
|
</button> |
|
|
|
|
<div className='flex-spacer' /> |
|
|
|
|
<button className='text-btn' tabIndex='0' onClick={this.props.onSaveAccountNote} disabled={isSubmitting}> |
|
|
|
|
<button className='icon-button' tabIndex='0' onClick={this.props.onSaveAccountNote} disabled={isSubmitting}> |
|
|
|
|
<Icon id='check' size={15} /> <FormattedMessage id='account_note.save' defaultMessage='Save' /> |
|
|
|
|
</button> |
|
|
|
|
</div> |
|
|
|
@ -66,7 +66,7 @@ class Header extends ImmutablePureComponent { |
|
|
|
|
} else { |
|
|
|
|
action_buttons = ( |
|
|
|
|
<div className='account__header__account-note__buttons'> |
|
|
|
|
<button className='text-btn' tabIndex='0' onClick={this.props.onEditAccountNote} disabled={isSubmitting}> |
|
|
|
|
<button className='icon-button' tabIndex='0' onClick={this.props.onEditAccountNote} disabled={isSubmitting}> |
|
|
|
|
<Icon id='pencil' size={15} /> <FormattedMessage id='account_note.edit' defaultMessage='Edit' /> |
|
|
|
|
</button> |
|
|
|
|
</div> |
|
|
|
|