web: show the pipeline Run dialog from every tab

Graph and Source return before the detail footer, so their Run click set the
dialog state but never appended the overlay. Append the overlay before the tab
branches.
This commit is contained in:
2026-10-20 15:04:16 +01:00
parent 9f29f387ba
commit ef59f981f7
2 changed files with 4 additions and 2 deletions
+3 -1
View File
@@ -558,6 +558,9 @@ function renderPipelineDetail() {
}),
),
);
// The Run dialog is an overlay; append it before the tab branches so Graph
// and Source (which return early) still show it.
if (state.runStart) pane.append(renderRunStartDialog());
if (state.pipelineTab === "graph") {
pane.append(h("p", { class: "graph-note muted", text: graphNote() }));
const stages = d.graph?.stages ?? [];
@@ -642,7 +645,6 @@ function renderPipelineDetail() {
}
pane.append(body);
}
if (state.runStart) pane.append(renderRunStartDialog());
return pane;
}