webpack/scenes/ContentViews/Details/Versions/Delete/RemoveCVVersionWizard.js in katello-4.4.2.2 vs webpack/scenes/ContentViews/Details/Versions/Delete/RemoveCVVersionWizard.js in katello-4.5.0.rc1
- old
+ new
@@ -15,11 +15,11 @@
import { useSet } from '../../../../../components/Table/TableHooks';
const RemoveCVVersionWizard = ({
cvId, versionIdToRemove, versionNameToRemove,
versionEnvironments, show, setIsOpen,
- currentStep, setCurrentStep, deleteWizard, detailsPage,
+ currentStep, setCurrentStep, deleteWizard,
}) => {
const [selectedEnvForAK, setSelectedEnvForAK] = useState([]);
const [selectedEnvForHost, setSelectedEnvForHost] = useState([]);
const dispatch = useDispatch();
const selectedEnvSet = useSet([]);
@@ -76,11 +76,11 @@
id: 3,
name: 'Reassign affected activation keys',
component: <CVReassignActivationKeysForm />,
enableNext: canReview,
canJumpTo: affectedActivationKeys &&
- (affectedHosts ? selectedEnvForHost && selectedCVForHosts : true),
+ (affectedHosts ? selectedEnvForHost && selectedCVForHosts : true),
};
const reviewStep = {
id: 4,
name: 'Review',
@@ -131,11 +131,10 @@
selectedEnvForAK,
setSelectedEnvForAK,
selectedEnvForHost,
setSelectedEnvForHost,
selectedEnvSet,
- detailsPage,
}}
>
<Wizard
title={deleteFlow ? __('Delete Version') : __('Remove Version')}
description={__(`${deleteFlow ? 'Deleting' : 'Removing'} version ${versionNameToRemove}`)}
@@ -164,16 +163,14 @@
show: PropTypes.bool,
setIsOpen: PropTypes.func,
currentStep: PropTypes.number.isRequired,
setCurrentStep: PropTypes.func.isRequired,
deleteWizard: PropTypes.bool.isRequired,
- detailsPage: PropTypes.bool,
};
RemoveCVVersionWizard.defaultProps = {
versionEnvironments: [],
show: false,
setIsOpen: null,
- detailsPage: false,
};
export default RemoveCVVersionWizard;