webpack/scenes/Subscriptions/Manifest/ManageManifestModal.js in katello-3.18.5 vs webpack/scenes/Subscriptions/Manifest/ManageManifestModal.js in katello-4.0.0.rc1
- old
+ new
@@ -49,15 +49,12 @@
};
showDeleteManifestModal = () =>
this.props.setModalOpen({ id: DELETE_MANIFEST_MODAL_ID });
- hideDeleteManifestModal = () => {
- if (this.props.deleteManifestModalExists) {
- this.props.setModalClosed({ id: DELETE_MANIFEST_MODAL_ID });
- }
- };
+ hideDeleteManifestModal = () =>
+ this.props.setModalClosed({ id: DELETE_MANIFEST_MODAL_ID });
updateRepositoryUrl = (event) => {
this.setState({ redhat_repository_url: event.target.value });
};
@@ -327,11 +324,10 @@
}),
}).isRequired,
canImportManifest: PropTypes.bool,
canDeleteManifest: PropTypes.bool,
isManifestImported: PropTypes.bool,
- deleteManifestModalExists: PropTypes.bool,
canEditOrganizations: PropTypes.bool,
disableManifestActions: PropTypes.bool,
disabledReason: PropTypes.string,
loadOrganization: PropTypes.func.isRequired,
saveOrganization: PropTypes.func.isRequired,
@@ -353,10 +349,9 @@
disableManifestActions: false,
disabledReason: '',
canImportManifest: false,
canDeleteManifest: false,
isManifestImported: false,
- deleteManifestModalExists: false,
canEditOrganizations: false,
simpleContentAccess: false,
simpleContentAccessEligible: undefined,
manifestActionStarted: false,
};