Skip to content

Commit

Permalink
Update to Patternfly 5
Browse files Browse the repository at this point in the history
  • Loading branch information
MariaAga committed Sep 6, 2024
1 parent a7531fd commit c424eda
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 4 deletions.
6 changes: 3 additions & 3 deletions webpack/components/ProxmoxServer/components/CDRom.js
Original file line number Diff line number Diff line change
Expand Up @@ -74,23 +74,23 @@ const CDRom = ({ onRemove, data, storages, nodeId }) => {
label={__('None')}
value="none"
isChecked={cdrom?.cdrom?.value === 'none'}
onChange={handleMediaChange}
onChange={(e, _) => handleMediaChange(_, e)}
/>
<Radio
id="radio-physical"
name={cdrom?.cdrom?.name}
label={__('Physical')}
value="physical"
isChecked={cdrom?.cdrom?.value === 'physical'}
onChange={handleMediaChange}
onChange={(e, _) => handleMediaChange(_, e)}
/>
<Radio
id="radio-image"
name={cdrom?.cdrom?.name}
label={__('Image')}
value="image"
isChecked={cdrom?.cdrom?.value === 'image'}
onChange={handleMediaChange}
onChange={(e, _) => handleMediaChange(_, e)}
/>
</div>
{cdrom?.cdrom?.value === 'image' && (
Expand Down
3 changes: 2 additions & 1 deletion webpack/components/ProxmoxServer/components/CPUFlagsModal.js
Original file line number Diff line number Diff line change
@@ -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';

Expand Down

0 comments on commit c424eda

Please sign in to comment.