Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
10 changes: 5 additions & 5 deletions webpack/components/extensions/HostDetails/ActionsBar/index.js
Original file line number Diff line number Diff line change
Expand Up @@ -2,8 +2,8 @@ import React, { useContext } from 'react';
import { useSelector, useDispatch } from 'react-redux';
import {
DropdownItem,
DropdownSeparator,
} from '@patternfly/react-core/deprecated';
Divider,
} from '@patternfly/react-core';
import { CubeIcon, UndoIcon, RedoIcon } from '@patternfly/react-icons';

import { translate as __ } from 'foremanReact/common/I18n';
Expand Down Expand Up @@ -51,12 +51,12 @@ const HostActionsBar = () => {
<DropdownItem
ouiaId="katello-legacy-contenthost-ui"
key="katello-legacy-contenthost-ui"
href={foremanUrl(`/content_hosts/${hostDetails?.id}`)}
to={foremanUrl(`/content_hosts/${hostDetails?.id}`)}
icon={<UndoIcon />}
>
{__('Legacy content host UI')}
</DropdownItem>
<DropdownSeparator key="separator" ouiaId="katello-separator" />
<Divider key="separator" />
{showRecalculate && (
<DropdownItem
ouiaId="katello-refresh-applicability"
Expand All @@ -72,7 +72,7 @@ const HostActionsBar = () => {
<DropdownItem
ouiaId="katello-change-host-content-source"
key="katello-change-host-content-source"
href={foremanUrl(`/change_host_content_source?host_id=${hostDetails?.id}&initialContentSourceId=${hostDetails?.content_facet_attributes?.content_source_id}`)}
to={foremanUrl(`/change_host_content_source?host_id=${hostDetails?.id}&initialContentSourceId=${hostDetails?.content_facet_attributes?.content_source_id}`)}
icon={<CubeIcon />}
>
{__('Change content source')}
Expand Down
Loading