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:
@@ -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;
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user