Wizard: adapt file system step to new compliance state

This commit is contained in:
Sanne Raymaekers 2024-09-18 12:41:17 +02:00 committed by Klara Simickova
parent 0908cd2ae9
commit 70635c8445

View file

@ -6,7 +6,7 @@ import { useAppDispatch, useAppSelector } from '../../../../store/hooks';
import {
changeFileSystemConfigurationType,
selectFileSystemConfigurationType,
selectProfile,
selectComplianceProfileID,
} from '../../../../store/wizardSlice';
const FileSystemPartition = () => {
@ -14,7 +14,7 @@ const FileSystemPartition = () => {
const fileSystemConfigurationType = useAppSelector(
selectFileSystemConfigurationType
);
const hasOscapProfile = useAppSelector(selectProfile);
const hasOscapProfile = useAppSelector(selectComplianceProfileID);
if (hasOscapProfile) {
return undefined;