webpack/scenes/ContentViews/Details/Repositories/ContentCounts.js in katello-4.3.0 vs webpack/scenes/ContentViews/Details/Repositories/ContentCounts.js in katello-4.3.1

- old
+ new

@@ -39,10 +39,10 @@ const allCounts = []; Object.keys(counts).forEach((type) => { const count = counts[type]; let info = repoLabels[type]; - const config = ContentConfig().find(typeConfig => + const config = ContentConfig.find(typeConfig => typeConfig.names.singularLabel === type); if (config) { const { pluralLowercase, singularLowercase, pluralLabel } = config.names; info = [pluralLowercase, singularLowercase, pluralLabel];