diff --git a/src/frontend/src/components/exampleComponent/index.tsx b/src/frontend/src/components/exampleComponent/index.tsx index fb6d570aa..fa021b299 100644 --- a/src/frontend/src/components/exampleComponent/index.tsx +++ b/src/frontend/src/components/exampleComponent/index.tsx @@ -41,12 +41,18 @@ export default function CollectionCardComponent({
- + {flow.icon} +
+ + )} + {!flow.icon && + />}
{flow.name}
diff --git a/src/frontend/src/types/flow/index.ts b/src/frontend/src/types/flow/index.ts index ffb364d61..6c7c941ad 100644 --- a/src/frontend/src/types/flow/index.ts +++ b/src/frontend/src/types/flow/index.ts @@ -15,6 +15,8 @@ export type FlowType = { parent?: string; folder?: string; user_id?: string; + icon?:string; + icon_bg_color?:string; }; export type NodeType = {