webpack/scenes/RedHatRepositories/components/RepositorySetRepository/RepositorySetRepository.js in katello-3.11.2 vs webpack/scenes/RedHatRepositories/components/RepositorySetRepository/RepositorySetRepository.js in katello-3.12.0.rc1
- old
+ new
@@ -14,16 +14,17 @@
this.state = {};
this.repoForAction = () => {
const {
- productId, contentId, arch, releasever, label,
+ productId, contentId, arch, displayArch, releasever, label,
} = this.props;
+ const derivedArch = arch || displayArch;
return {
+ arch: derivedArch,
productId,
contentId,
- arch,
releasever,
label,
};
};