Blueprints Table: Hide Create image button
This button is used to launch the wizard in the old images table, it should not be used in the blueprints table (as the Create blueprint button has been moved to the header).
This commit is contained in:
parent
ab31c7a54a
commit
68e4cba9a3
1 changed files with 11 additions and 9 deletions
|
|
@ -180,15 +180,17 @@ const ImagesTable = ({
|
|||
/>
|
||||
<Toolbar>
|
||||
<ToolbarContent>
|
||||
<ToolbarItem>
|
||||
<Link
|
||||
to={resolveRelPath('imagewizard')}
|
||||
className="pf-c-button pf-m-primary"
|
||||
data-testid="create-image-action"
|
||||
>
|
||||
Create image
|
||||
</Link>
|
||||
</ToolbarItem>
|
||||
{!experimentalFlag && (
|
||||
<ToolbarItem>
|
||||
<Link
|
||||
to={resolveRelPath('imagewizard')}
|
||||
className="pf-c-button pf-m-primary"
|
||||
data-testid="create-image-action"
|
||||
>
|
||||
Create image
|
||||
</Link>
|
||||
</ToolbarItem>
|
||||
)}
|
||||
{experimentalFlag && (
|
||||
<>
|
||||
<ToolbarItem>
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue