Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion js-packages/common-ui/src/lib/TabsPanel.svelte
Original file line number Diff line number Diff line change
Expand Up @@ -77,7 +77,7 @@
(without `min-h-0` flex children refuse to shrink below their content size, so
any inner overflow would push the panel taller than the Pane). -->
<div class="relative min-h-0 flex-1">
{#each tabs as { id, panel: TabComponent, keepAlive }}
{#each tabs as { id, panel: TabComponent, keepAlive } (id)}
{#snippet tab()}
<TabComponent {...tabProps}></TabComponent>
{/snippet}
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -19,18 +19,20 @@ export const useTryPipeline = () => {
already_created,
trigger_location
})
try {
const newPipeline = await api.postPipeline({
name: pipeline.name,
description: pipeline.description,
program_code: pipeline.program_code,
program_config: {},
runtime_config: {},
udf_rust: pipeline.udf_rust,
udf_toml: pipeline.udf_toml
})
updatePipelines((pipelines) => (pipelines.push(newPipeline), pipelines))
} catch {}
if (!already_created) {
try {
const newPipeline = await api.postPipeline({
name: pipeline.name,
description: pipeline.description,
program_code: pipeline.program_code,
program_config: {},
runtime_config: {},
udf_rust: pipeline.udf_rust,
udf_toml: pipeline.udf_toml
})
updatePipelines((pipelines) => (pipelines.push(newPipeline), pipelines))
} catch {}
}
goto(resolve(`/pipelines/${encodeURIComponent(pipeline.name)}/`))
}
}
Loading