diff --git a/frontend/src/lib/components/workspaceSettings/CustomInstanceDbSelect.svelte b/frontend/src/lib/components/workspaceSettings/CustomInstanceDbSelect.svelte index 44a4dcc6bf..28c435befc 100644 --- a/frontend/src/lib/components/workspaceSettings/CustomInstanceDbSelect.svelte +++ b/frontend/src/lib/components/workspaceSettings/CustomInstanceDbSelect.svelte @@ -1,5 +1,9 @@
@@ -60,20 +67,30 @@ {/if} {/snippet} + {#if value} + {@render customInstanceDbWizardButton({ dbname: value, status })} + {/if} +
+ openedDbNameWizard, (v) => !v && (openedDbNameWizard = undefined)} +/> + +{#snippet customInstanceDbWizardButton(db: typeof openedDbNameWizard)} - - - (openedDbNameWizard ? { dbname: value ?? '', status: status! } : undefined), - (v) => !v && (openedDbNameWizard = false) - } -/> +{/snippet}