🐛 (index.tsx): handle 'valueError' resultType in SwitchOutputView component to display 'NO OUTPUT' for error cases
This commit is contained in:
parent
87323adaa8
commit
34677b6d3f
1 changed files with 5 additions and 1 deletions
|
|
@ -21,7 +21,11 @@ export default function SwitchOutputView(nodeId): JSX.Element {
|
|||
|
||||
return (
|
||||
<>
|
||||
<Case condition={!resultType || resultType === "unknown"}>
|
||||
<Case
|
||||
condition={
|
||||
!resultType || resultType === "unknown" || resultType === "valueError"
|
||||
}
|
||||
>
|
||||
<div>NO OUTPUT</div>
|
||||
</Case>
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue