Restore infrastructure settings platform sections

This commit is contained in:
rcourtman 2026-04-23 21:02:37 +01:00
parent f919a24186
commit d6a2f4949f
2 changed files with 9 additions and 10 deletions

View file

@ -173,11 +173,6 @@ export const InfrastructureSourceManager: Component<InfrastructureSourceManagerP
const sortedProducts = createMemo(() =>
[...products()]
.filter((product) => {
const configuredCount = groupedConfiguredRows().get(product.type)?.length ?? 0;
const discoveredCount = groupedDiscoveredRows().get(product.type)?.length ?? 0;
return configuredCount + discoveredCount > 0;
})
.sort((left, right) => {
const configuredDifference =
(groupedConfiguredRows().get(right.type)?.length ?? 0) -