Skip to content

Commit

Permalink
save
Browse files Browse the repository at this point in the history
  • Loading branch information
nsthorat committed Feb 16, 2024
1 parent 50e566a commit d14c3d2
Showing 1 changed file with 8 additions and 0 deletions.
8 changes: 8 additions & 0 deletions web/blueprint/src/lib/components/ComputeClusterModal.svelte
Original file line number Diff line number Diff line change
Expand Up @@ -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);
Expand Down

0 comments on commit d14c3d2

Please sign in to comment.