mirror of
https://github.com/chriswritescode-dev/opencode-manager.git
synced 2026-12-05 12:24:30 +01:00
show connected integration-only providers
This commit is contained in:
1 parent
a049f84cff
commit
08d336c829
1 file changed
+5
-1
@@ -76,7 +76,11 @@ function buildProviderEntries(
|
||||
}
|
||||
|
||||
const integrationOnly = (integrations ?? [])
|
||||
.filter((integration) => !seen.has(integration.id) && supportsSettingsAuthentication(integration.methods))
|
||||
.filter(
|
||||
(integration) =>
|
||||
!seen.has(integration.id) &&
|
||||
(supportsSettingsAuthentication(integration.methods) || hasCredentialConnection(integration)),
|
||||
)
|
||||
.sort((a, b) => a.name.localeCompare(b.name))
|
||||
.map((integration): ProviderEntry => ({
|
||||
id: integration.id,
|
||||
|
||||
Reference in new issue
Block a user