webpack/scenes/Subscriptions/index.js in katello-3.15.0.rc1.1 vs webpack/scenes/Subscriptions/index.js in katello-3.15.0.rc1.2
- old
+ new
@@ -1,25 +1,25 @@
import { bindActionCreators } from 'redux';
import { connect } from 'react-redux';
import * as settingActions from 'foremanReact/components/Settings/SettingsActions';
-
+import * as foremanModalActions from 'foremanReact/components/ForemanModal/ForemanModalActions';
import * as subscriptionActions from './SubscriptionActions';
import * as taskActions from '../Tasks/TaskActions';
import * as tableActions from '../Settings/Tables/TableActions';
import * as manifestActions from './Manifest/ManifestActions';
import {
selectSubscriptionsState,
selectSearchQuery,
- selectManifestModalOpened,
selectDeleteModalOpened,
selectTaskModalOpened,
selectDeleteButtonDisabled,
selectSubscriptionsTasks,
selectActivePermissions,
selectTableSettings,
} from './SubscriptionsSelectors';
+import { selectSimpleContentAccessEnabled } from '../Organizations/OrganizationSelectors';
import reducer from './SubscriptionReducer';
import { SUBSCRIPTION_TABLE_NAME } from './SubscriptionConstants';
import SubscriptionsPage from './SubscriptionsPage';
@@ -30,13 +30,13 @@
return {
subscriptions,
subscriptionTableSettings,
activePermissions: selectActivePermissions(state),
+ simpleContentAccess: selectSimpleContentAccessEnabled(state),
tasks: selectSubscriptionsTasks(state),
searchQuery: selectSearchQuery(state),
- manifestModalOpened: selectManifestModalOpened(state),
deleteModalOpened: selectDeleteModalOpened(state),
taskModalOpened: selectTaskModalOpened(state),
deleteButtonDisabled: selectDeleteButtonDisabled(state),
organization: state.katello.organization,
taskDetails: state.katello.manifestHistory.taskDetails,
@@ -48,9 +48,10 @@
...subscriptionActions,
...taskActions,
...settingActions,
...tableActions,
...manifestActions,
+ ...foremanModalActions,
};
const mapDispatchToProps = dispatch => bindActionCreators(actions, dispatch);
// export reducers