webpack/scenes/Content/Details/ContentRepositories.js in katello-4.3.0 vs webpack/scenes/Content/Details/ContentRepositories.js in katello-4.3.1
- old
+ new
@@ -18,10 +18,10 @@
const response = useSelector(selectRepositoryContentDetails);
const error = useSelector(selectRepositoryContentDetailsError);
const [searchQuery, updateSearchQuery] = useState('');
const { results, ...metadata } = response;
- const config = contentConfig().find(type => type.names.pluralLabel === contentType);
+ const config = contentConfig.find(type => type.names.pluralLabel === contentType);
const typeSingularLabel = config.names.singularLabel;
const { columnHeaders } = config.tabs.find(header => header.tabKey === tabKey);
const emptyContentTitle = __("You currently don't have any repositories associated with this content.");
const emptyContentBody = __('Please add some repositories.');