mirror of
https://github.com/rcourtman/Pulse.git
synced 2026-05-05 07:08:42 +00:00
Restore infrastructure settings platform sections
This commit is contained in:
parent
f919a24186
commit
d6a2f4949f
2 changed files with 9 additions and 10 deletions
|
|
@ -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) -
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue