Skip to content

Commit

Permalink
Refs #36878 - Remove icon from Change content source
Browse files Browse the repository at this point in the history
  • Loading branch information
jeremylenz committed Nov 1, 2023
1 parent 6bf778d commit 0ad763c
Showing 1 changed file with 1 addition and 5 deletions.
6 changes: 1 addition & 5 deletions webpack/components/extensions/Hosts/ActionsBar/index.js
Original file line number Diff line number Diff line change
@@ -1,6 +1,5 @@
import React, { useContext } from 'react';
import { DropdownItem } from '@patternfly/react-core';
import { CubeIcon } from '@patternfly/react-icons';
import { translate as __ } from 'foremanReact/common/I18n';
import { foremanUrl } from 'foremanReact/common/helpers';
import { ForemanHostsIndexActionsBarContext } from 'foremanReact/components/HostsIndex';
Expand All @@ -20,18 +19,15 @@ const HostActionsBar = () => {
href = foremanUrl(`/change_host_content_source?search=${fetchBulkParams({})}`);
}

const title = __('Change content source');
return (
<>
<DropdownItem
ouiaId="change-content-s-dropdown-item"
key="change-content-source-dropdown-item"
title={title}
href={href}
isDisabled={selectedCount === 0}
icon={<CubeIcon />}
>
{title}
{__('Change content source')}
</DropdownItem>
</>
);
Expand Down

0 comments on commit 0ad763c

Please sign in to comment.