Skip to content

Commit

Permalink
Fixes #36472 - missing translation for submit/cancel
Browse files Browse the repository at this point in the history
  • Loading branch information
MariaAga authored and stejskalleos committed Jun 6, 2023
1 parent 2a95285 commit 2273a93
Showing 1 changed file with 3 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -14,6 +14,7 @@ import {
Checkbox,
} from '@patternfly/react-core';
import Pagination from 'foremanReact/components/Pagination';
import { translate as __ } from 'foremanReact/common/I18n';
import PropTypes from 'prop-types';
import { DEFAULT_PER_PAGE } from './AnsibleRolesAndVariablesConstants';
import './AnsibleRolesAndVariables.scss';
Expand Down Expand Up @@ -119,10 +120,10 @@ const ImportRolesAndVariablesTable = ({
isLoading={isImporting}
isDisabled={isImporting || selectedRowsCount === 0}
>
Submit
{__('Submit')}
</Button>
<Button variant="secondary" onClick={onCancel} isDisabled={isImporting}>
Cancel
{__('Cancel')}
</Button>
</div>
);
Expand Down

0 comments on commit 2273a93

Please sign in to comment.