Skip to content

Commit

Permalink
add workflow type to relationships table (#1693)
Browse files Browse the repository at this point in the history
shows for both pending & completed children
  • Loading branch information
rossedfort authored Oct 16, 2023
1 parent e5a810e commit cd606b6
Showing 1 changed file with 7 additions and 1 deletion.
8 changes: 7 additions & 1 deletion src/lib/components/workflow/child-workflows-table.svelte
Original file line number Diff line number Diff line change
Expand Up @@ -20,6 +20,7 @@
runId: c.runId,
workflowId: c.workflowId,
status: 'Running' as const,
type: c.workflowTypeName,
namespace,
};
});
Expand All @@ -28,6 +29,7 @@
return {
runId: c.attributes.workflowExecution.runId,
workflowId: c.attributes.workflowExecution.workflowId,
type: c.attributes.workflowType,
status: c.classification,
namespace: c.attributes?.namespace || namespace,
};
Expand All @@ -51,7 +53,8 @@
>{translate('workflows', 'child-workflows')}</caption
>
<TableHeaderRow slot="headers">
<th class="max-md:hidden">Status</th>
<th class="max-md:hidden">{translate('status')}</th>
<th class="max-lg:hidden">{translate('type')}</th>
<th>{translate('workflows', 'child-id')}</th>
<th>{translate('workflows', 'child-run-id')}</th>
</TableHeaderRow>
Expand All @@ -60,6 +63,9 @@
<td class="max-md:hidden">
<WorkflowStatus status={child.status} />
</td>
<td class="max-lg:hidden">
{child.type}
</td>
<td class="hover:text-blue-700 hover:underline">
<Link
newTab
Expand Down

0 comments on commit cd606b6

Please sign in to comment.