webpack/components/NewTemplateSync/components/NewTemplateSyncForm/index.js in foreman_templates-9.0.2 vs webpack/components/NewTemplateSync/components/NewTemplateSyncForm/index.js in foreman_templates-9.1.0
- old
+ new
@@ -1,11 +1,9 @@
import { connect } from 'react-redux';
import * as FormActions from 'foremanReact/redux/actions/common/forms';
-import { selectLayout } from 'foremanReact/components/Layout/LayoutSelectors';
-
import NewTemplateSyncForm from './NewTemplateSyncForm';
import {
selectImportSettings,
selectExportSettings,
@@ -22,11 +20,9 @@
return {
initialValues: { ...initialFormValues },
importSettings,
exportSettings,
- currentOrganization: selectLayout(state).currentOrganization,
- currentLocation: selectLayout(state).currentLocation,
};
};
export default connect(mapStateToProps, FormActions)(NewTemplateSyncForm);