diff --git a/frontend/src/lib/components/AppConnect.svelte b/frontend/src/lib/components/AppConnect.svelte index 90968fb6b6..d53e897e33 100644 --- a/frontend/src/lib/components/AppConnect.svelte +++ b/frontend/src/lib/components/AppConnect.svelte @@ -62,6 +62,7 @@ import ApiConnectForm from './ApiConnectForm.svelte' import SearchItems from './SearchItems.svelte' import autosize from 'svelte-autosize' + import WhitelistIp from './WhitelistIp.svelte' export let newPageOAuth = false @@ -416,6 +417,9 @@ {/if} {/if} + {#if resource_type == 'postgresql' || resource_type == 'mysql'} + + {/if}

Value

diff --git a/frontend/src/lib/components/WhitelistIp.svelte b/frontend/src/lib/components/WhitelistIp.svelte new file mode 100644 index 0000000000..e8c28fccac --- /dev/null +++ b/frontend/src/lib/components/WhitelistIp.svelte @@ -0,0 +1,28 @@ + + +{#if ips} +
+ + If necessary, the workers IPs to whitelist are: + {ips.join(', ')} + +{/if} diff --git a/frontend/src/lib/components/apps/editor/inlineScriptsPanel/InlineScriptEditorPanel.svelte b/frontend/src/lib/components/apps/editor/inlineScriptsPanel/InlineScriptEditorPanel.svelte index f07761116f..30c8f715fe 100644 --- a/frontend/src/lib/components/apps/editor/inlineScriptsPanel/InlineScriptEditorPanel.svelte +++ b/frontend/src/lib/components/apps/editor/inlineScriptsPanel/InlineScriptEditorPanel.svelte @@ -7,7 +7,6 @@ import { workspaceStore } from '$lib/stores' import { emptySchema, getScriptByPath } from '$lib/utils' import { faCodeBranch, faExternalLinkAlt, faEye, faPen } from '@fortawesome/free-solid-svg-icons' - import { onMount } from 'svelte' import type { AppInput, RunnableByPath } from '../../inputType' import { clearResultAppInput, schemaToInputsSpec } from '../../utils' import EmptyInlineScript from './EmptyInlineScript.svelte'