feat: Add support for array result type in SwitchOutputView component

This commit is contained in:
anovazzi1 2024-06-04 16:26:20 -03:00
commit 46313155b3

View file

@ -48,6 +48,13 @@ export default function SwitchOutputView(nodeId): JSX.Element {
columnMode="union"
/>
</Case>
<Case condition={resultType === "array"}>
<RecordsOutputComponent
rows={resultMessage}
pagination={true}
columnMode="union"
/>
</Case>
</>
);
}