diff --git a/frontend/src/lib/components/triggers/native/NativeConnectionPicker.svelte b/frontend/src/lib/components/triggers/native/NativeConnectionPicker.svelte index 3582214f60..19ea251241 100644 --- a/frontend/src/lib/components/triggers/native/NativeConnectionPicker.svelte +++ b/frontend/src/lib/components/triggers/native/NativeConnectionPicker.svelte @@ -21,6 +21,8 @@ /** Select the first connection when none is chosen yet. */ autoSelect?: boolean clearable?: boolean + /** Suffix the workspace connection's label, where it sits among personal ones. */ + labelWorkspace?: boolean placeholder?: string /** Called instead of setting `value` directly when the user picks or clears a connection. */ onSelect?: (path: string | undefined) => void @@ -35,6 +37,7 @@ disabled = false, autoSelect = true, clearable = false, + labelWorkspace = true, placeholder, onSelect, onConnectionsChange @@ -118,7 +121,7 @@ const items = $derived.by(() => { const list = (connections ?? []).map((c) => ({ - label: c.workspace ? `${c.path} (workspace connection)` : c.path, + label: c.workspace && labelWorkspace ? `${c.path} (workspace connection)` : c.path, value: c.path })) if (value && !list.some((i) => i.value === value)) { diff --git a/frontend/src/lib/components/workspaceSettings/WorkspaceIntegrations.svelte b/frontend/src/lib/components/workspaceSettings/WorkspaceIntegrations.svelte index 06eed08ee3..b6df42d9e4 100644 --- a/frontend/src/lib/components/workspaceSettings/WorkspaceIntegrations.svelte +++ b/frontend/src/lib/components/workspaceSettings/WorkspaceIntegrations.svelte @@ -1,10 +1,10 @@