webpack/scenes/RedHatRepositories/index.js in katello-3.8.1 vs webpack/scenes/RedHatRepositories/index.js in katello-3.9.0.rc1
- old
+ new
@@ -18,11 +18,11 @@
this.loadData();
}
loadData() {
this.props.loadEnabledRepos();
- this.props.loadRepositorySets();
+ this.props.loadRepositorySets({ search: { filters: ['rpm'] } });
}
render() {
const { enabledRepositories, repositorySets } = this.props;
const { repoParams } = createEnabledRepoParams(enabledRepositories);
@@ -83,11 +83,9 @@
loadEnabledRepos: PropTypes.func.isRequired,
loadRepositorySets: PropTypes.func.isRequired,
updateRecommendedRepositorySets: PropTypes.func.isRequired,
enabledRepositories: PropTypes.shape({}).isRequired,
repositorySets: PropTypes.shape({}).isRequired,
- history: PropTypes.shape({}).isRequired,
- location: PropTypes.shape({}).isRequired,
};
const mapStateToProps = ({
katello: {
redHatRepositories: { enabled, sets },