diff --git a/ui/src/shared/components/graph/icon.tsx b/ui/src/shared/components/graph/icon.tsx index db60877bebac..79c3ddfdc1f5 100644 --- a/ui/src/shared/components/graph/icon.tsx +++ b/ui/src/shared/components/graph/icon.tsx @@ -4,6 +4,20 @@ import {Icon} from '../icon'; import {icons} from '../icons'; export function GraphIcon({nodeSize, progress, icon}: {icon: Icon; progress?: number; nodeSize: number}) { + if (icon === 'database') { + return ( + <> + + {icons['check']} + + + + {icons['database']} + + + ); + } + if (!progress) { return ( diff --git a/ui/src/workflows/components/workflow-dag/icons.ts b/ui/src/workflows/components/workflow-dag/icons.ts index dabb7cde8b1a..400eec513abe 100644 --- a/ui/src/workflows/components/workflow-dag/icons.ts +++ b/ui/src/workflows/components/workflow-dag/icons.ts @@ -10,5 +10,6 @@ export const icons: {[key: string]: Icon} = { Running: 'circle-notch', Skipped: 'forward', Succeeded: 'check', - Suspended: 'pause' + Suspended: 'pause', + Memoized: 'database' }; diff --git a/ui/src/workflows/components/workflow-dag/workflow-dag.tsx b/ui/src/workflows/components/workflow-dag/workflow-dag.tsx index 26865c1a5f9f..08fedaa10b64 100644 --- a/ui/src/workflows/components/workflow-dag/workflow-dag.tsx +++ b/ui/src/workflows/components/workflow-dag/workflow-dag.tsx @@ -100,10 +100,12 @@ export class WorkflowDag extends React.Component