import React from 'react'; import PropTypes from 'prop-types'; import { Button } from '@patternfly/react-core'; import { translate as __ } from 'foremanReact/common/I18n'; import { JOB_INVOCATION_PATH } from './RemediationTableConstants'; const ModalFooter = ({ toggleModal, resolutions, hostsIds }) => { let token = document.querySelector('meta[name="csrf-token"]'); token = token?.content || ''; return (
{hostsIds.map(id => ( ))}
); }; ModalFooter.propTypes = { toggleModal: PropTypes.func.isRequired, resolutions: PropTypes.array, hostsIds: PropTypes.array, }; ModalFooter.defaultProps = { resolutions: [], hostsIds: [], }; export default ModalFooter;