Skip to content

Commit 45f1bd4

Browse files
committed
Wizard: Remove "hasDiskCustomization" constraint
1 parent eaf376e commit 45f1bd4

File tree

2 files changed

+2
-8
lines changed

2 files changed

+2
-8
lines changed

src/Components/CreateImageWizard/steps/FileSystem/components/AdvancedPartitioning.tsx

Lines changed: 0 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,6 @@
11
import React from 'react';
22

33
import {
4-
Alert,
54
Button,
65
CodeBlock,
76
Content,
@@ -27,10 +26,6 @@ const AdvancedPartitioning = () => {
2726
<Content>
2827
<Content component={ContentVariants.h3}>Configure disk layout</Content>
2928
</Content>
30-
<Alert
31-
variant='info'
32-
title='Disk can be currently only edited directly in the blueprint'
33-
/>
3429
<Content>
3530
<Content>Define complete partition table for your image.</Content>
3631
<Content>

src/Components/CreateImageWizard/steps/FileSystem/components/FileSystemPartition.tsx

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -22,7 +22,6 @@ const FileSystemPartition = () => {
2222
const isAdvancedPartitioningEnabled = useFlag(
2323
'image-builder.advanced-partitioning.enabled',
2424
);
25-
const hasDiskCustomization = useAppSelector(selectDiskPartitions).length > 0;
2625

2726
if (hasOscapProfile) {
2827
return undefined;
@@ -50,7 +49,7 @@ const FileSystemPartition = () => {
5049
<Radio
5150
id='basic-partitioning-radio'
5251
label={
53-
isAdvancedPartitioningEnabled && hasDiskCustomization
52+
isAdvancedPartitioningEnabled
5453
? 'Basic filesystem partitioning'
5554
: 'Manually configure partitions'
5655
}
@@ -61,7 +60,7 @@ const FileSystemPartition = () => {
6160
dispatch(changeFscMode('basic'));
6261
}}
6362
/>
64-
{isAdvancedPartitioningEnabled && hasDiskCustomization && (
63+
{isAdvancedPartitioningEnabled && (
6564
<Radio
6665
id='advanced-partitioning-radio'
6766
label='Advanced disk partitioning'

0 commit comments

Comments
 (0)