diff --git a/src/frontend/src/customNodes/genericNode/components/outputModal/components/switchOutputView/index.tsx b/src/frontend/src/customNodes/genericNode/components/outputModal/components/switchOutputView/index.tsx
index 62f49835e..528fdb663 100644
--- a/src/frontend/src/customNodes/genericNode/components/outputModal/components/switchOutputView/index.tsx
+++ b/src/frontend/src/customNodes/genericNode/components/outputModal/components/switchOutputView/index.tsx
@@ -48,13 +48,19 @@ export default function SwitchOutputView(nodeId): JSX.Element {
columnMode="union"
/>
-
-
-
+ {Array.isArray(resultMessage) && (
+
+ ).every((item) => item.data)
+ ? (resultMessage as Array).map((item) => item.data)
+ : resultMessage
+ }
+ pagination={true}
+ columnMode="union"
+ />
+
+ )}
>
);
}
diff --git a/src/frontend/src/types/api/index.ts b/src/frontend/src/types/api/index.ts
index 8f4bd190e..563b9760d 100644
--- a/src/frontend/src/types/api/index.ts
+++ b/src/frontend/src/types/api/index.ts
@@ -161,7 +161,7 @@ export type VertexBuildTypeAPI = {
// it has results, artifacts, timedelta, duration
export type VertexDataTypeAPI = {
results: { [key: string]: string };
- logs: { message: string; type: string }[];
+ logs: any[];
messages: ChatOutputType[] | chatInputType[];
inactive?: boolean;
timedelta?: number;