diff --git a/frontend/src/lib/components/workspaceSettings/WorkspaceIntegrations.svelte b/frontend/src/lib/components/workspaceSettings/WorkspaceIntegrations.svelte index 57e6c063fb..2335ab1d5e 100644 --- a/frontend/src/lib/components/workspaceSettings/WorkspaceIntegrations.svelte +++ b/frontend/src/lib/components/workspaceSettings/WorkspaceIntegrations.svelte @@ -326,7 +326,7 @@ {/if} -
+
@@ -338,88 +338,79 @@ No OAuth app yet {/if}
-
- {#if workspaceApp} - Members connect through this workspace's own {config.displayName} app. - {:else if usesInstanceApp} - Members connect through the instance's {config.displayName} OAuth app. - {:else} - Members can connect {config.displayName} accounts once one is set up. - {/if} -
- {#if workspaceApp || usesInstanceApp} + {#if usesInstanceApp} {/if}
- {#if !workspaceApp && !usesInstanceApp} - - {/if} +
+ {#if workspaceApp} + + + {:else if !usesInstanceApp} + + {/if} +
+ {#if usesInstanceApp && serviceName === 'google'} -
- The instance app must list this redirect URI in the - Google Cloud Console +
+
+ The instance app must list this redirect URI in the + Google Cloud Console +
+ +
+ {/if} + + {#if workspaceApp || usesInstanceApp} +
+
Workspace connection
+
+ Members can create triggers as this account without seeing its token. +
+ setWorkspaceConnection(serviceName, path)} + onConnectionsChange={() => loadConnections(serviceName)} + />
- {/if}
- {#if workspaceApp || usesInstanceApp} -
-
Workspace connection
-
- Members can create triggers that act as this account, without access to its token. -
- setWorkspaceConnection(serviceName, path)} - onConnectionsChange={() => loadConnections(serviceName)} - /> -
- {/if} - - {#if workspaceApp} -
-
-
- Remove {config.displayName} from this workspace -
-
- Deletes the OAuth app, every connected account and all {config.displayName} triggers. -
-
- -
- {/if} -