blueprint: Add preview label to import button
This commit is contained in:
parent
90a37db2f5
commit
a799d70a85
1 changed files with 5 additions and 7 deletions
|
|
@ -8,11 +8,7 @@ import {
|
|||
Flex,
|
||||
FlexItem,
|
||||
} from '@patternfly/react-core';
|
||||
import {
|
||||
ExternalLinkAltIcon,
|
||||
HelpIcon,
|
||||
ImportIcon,
|
||||
} from '@patternfly/react-icons';
|
||||
import { ExternalLinkAltIcon, HelpIcon } from '@patternfly/react-icons';
|
||||
// eslint-disable-next-line rulesdir/disallow-fec-relative-imports
|
||||
import {
|
||||
OpenSourceBadge,
|
||||
|
|
@ -21,6 +17,8 @@ import {
|
|||
} from '@redhat-cloud-services/frontend-components';
|
||||
import { useNavigate } from 'react-router-dom';
|
||||
|
||||
import BetaLabel from './BetaLabel';
|
||||
|
||||
import {
|
||||
CREATE_RHEL_IMAGES_WITH_AUTOMATED_MANAGEMENT_URL,
|
||||
CREATING_IMAGES_WITH_IB_SERVICE_URL,
|
||||
|
|
@ -142,12 +140,12 @@ export const ImageBuilderHeader = ({
|
|||
data-testid="import-blueprint-button"
|
||||
ouiaId="import-blueprint-button"
|
||||
variant="secondary"
|
||||
icon={<ImportIcon />}
|
||||
icon={<BetaLabel />}
|
||||
iconPosition="end"
|
||||
onClick={() => setShowImportModal(true)}
|
||||
isDisabled={!isOnBlueprintsTab}
|
||||
>
|
||||
Import{' '}
|
||||
Import
|
||||
</Button>
|
||||
)}
|
||||
</FlexItem>
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue