Many fixes to workflow runs, focused on only running correct nodes

This commit is contained in:
Frikky
2023-12-07 18:18:51 +01:00
parent a8fa130381
commit 02713941f0
12 changed files with 1325 additions and 721 deletions
+22
View File
@@ -71,6 +71,7 @@ import {
import {
Folder as FolderIcon,
Insights as InsightsIcon,
LibraryBooks as LibraryBooksIcon,
OpenInNew as OpenInNewIcon,
Undo as UndoIcon,
@@ -15193,6 +15194,27 @@ const AngularWorkflow = (defaultprops) => {
</span>
</Tooltip>
) : null}
{isCloud ? (
<Tooltip
color="primary"
title="Explore logs for the workflow"
placement="top"
style={{ zIndex: 50000 }}
>
<span style={{}}>
<Button
color="primary"
style={{ float: "right", marginTop: 20, marginLeft: 10 }}
disabled={!userdata.support}
onClick={() => {
window.open(`/api/v1/workflows/search/${executionData.execution_id}`, "_blank")
}}
>
<InsightsIcon color="secondary" />
</Button>
</span>
</Tooltip>
) : null}
</div>
{executionData.workflow !== undefined && executionData.workflow !== null && executionData.workflow.actions !== undefined && executionData.workflow.actions !== null && executionData.workflow.actions.length > 0 && executionData.workflow.actions[0].environment !== "Cloud" ?
<div style={{ display: "flex", marginLeft: 10, }}>