Skip to content

Commit

Permalink
fix: show items in maintenance if installed VO-949
Browse files Browse the repository at this point in the history
  • Loading branch information
acezard committed Jul 30, 2024
1 parent 39d97b6 commit 2023c20
Showing 1 changed file with 6 additions and 1 deletion.
7 changes: 6 additions & 1 deletion src/components/Sections/lib/formatServicesSections.ts
Original file line number Diff line number Diff line change
Expand Up @@ -159,8 +159,13 @@ export const formatServicesSections = (
// Filter out items that are in maintenance
const availableItems = allItems.filter(isAvailable)

// Filter out items that are in maintenance but keep installed ones
const availableOrInstalledItems = allItems.filter(
item => isAvailable(item) || isInstalled(item)
)

// Filter out items that are installed
const installedItems = availableItems.filter(isInstalled)
const installedItems = availableOrInstalledItems.filter(isInstalled)

// Get suggested konnectors that are also in available items, enhancing their names
const suggestedKonnectorsWithName = getEnhancedSuggestedKonnectors(
Expand Down

0 comments on commit 2023c20

Please sign in to comment.