diff --git a/webpack/components/ProxmoxServer/components/CDRom.js b/webpack/components/ProxmoxServer/components/CDRom.js index 82db2b164..0145642b5 100644 --- a/webpack/components/ProxmoxServer/components/CDRom.js +++ b/webpack/components/ProxmoxServer/components/CDRom.js @@ -74,7 +74,7 @@ const CDRom = ({ onRemove, data, storages, nodeId }) => { label={__('None')} value="none" isChecked={cdrom?.cdrom?.value === 'none'} - onChange={handleMediaChange} + onChange={(e, _) => handleMediaChange(_, e)} /> { label={__('Physical')} value="physical" isChecked={cdrom?.cdrom?.value === 'physical'} - onChange={handleMediaChange} + onChange={(e, _) => handleMediaChange(_, e)} /> { label={__('Image')} value="image" isChecked={cdrom?.cdrom?.value === 'image'} - onChange={handleMediaChange} + onChange={(e, _) => handleMediaChange(_, e)} /> {cdrom?.cdrom?.value === 'image' && ( diff --git a/webpack/components/ProxmoxServer/components/CPUFlagsModal.js b/webpack/components/ProxmoxServer/components/CPUFlagsModal.js index 00c9894ab..05bebe671 100644 --- a/webpack/components/ProxmoxServer/components/CPUFlagsModal.js +++ b/webpack/components/ProxmoxServer/components/CPUFlagsModal.js @@ -1,7 +1,8 @@ import React from 'react'; import { Modal, Button } from '@patternfly/react-core'; import { translate as __ } from 'foremanReact/common/I18n'; -import { Table, Thead, Tr, Th, Tbody, Td } from '@patternfly/react-table'; +import { Thead, Tr, Th, Tbody, Td } from '@patternfly/react-table'; +import { Table } from '@patternfly/react-table/deprecated'; import PropTypes from 'prop-types'; import ProxmoxComputeSelectors from '../../ProxmoxComputeSelectors';