diff --git a/web/blueprint/src/lib/components/ComputeClusterModal.svelte b/web/blueprint/src/lib/components/ComputeClusterModal.svelte index 1be5de9d..604ac1b6 100644 --- a/web/blueprint/src/lib/components/ComputeClusterModal.svelte +++ b/web/blueprint/src/lib/components/ComputeClusterModal.svelte @@ -68,6 +68,14 @@ formatSelectors = $formatSelectorsQuery.data; } } + $: { + if (selectedFormatSelector != null && selectedFormatSelector != 'none') { + // Choose a reasonable default output column. + outputColumn = `${selectedFormatSelector}__clusters`; + } else if (selectedFormatSelector === 'none') { + outputColumn = undefined; + } + } function close() { store.set(null);