diff options
Fix order of button text in page-container-footer.
Diffstat (limited to 'ui/app/components/page-container')
-rw-r--r-- | ui/app/components/page-container/page-container-footer/page-container-footer.component.js | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/ui/app/components/page-container/page-container-footer/page-container-footer.component.js b/ui/app/components/page-container/page-container-footer/page-container-footer.component.js index f591ff83f..9172aea94 100644 --- a/ui/app/components/page-container/page-container-footer/page-container-footer.component.js +++ b/ui/app/components/page-container/page-container-footer/page-container-footer.component.js @@ -34,7 +34,7 @@ export default class PageContainerFooter extends Component { className="page-container__footer-button" onClick={() => onCancel()} > - { this.context.t('cancel') || cancelText } + { cancelText || this.context.t('cancel') } </Button> <Button @@ -44,7 +44,7 @@ export default class PageContainerFooter extends Component { disabled={disabled} onClick={e => onSubmit(e)} > - { this.context.t('next') || submitText } + { submitText || this.context.t('next') } </Button> </div> |