diff --git a/frontend/src/lib/components/ArgInfo.svelte b/frontend/src/lib/components/ArgInfo.svelte index a7128d682a..e8a1850144 100644 --- a/frontend/src/lib/components/ArgInfo.svelte +++ b/frontend/src/lib/components/ArgInfo.svelte @@ -24,8 +24,12 @@ - - + + {#if isString(jsonViewerContent)} +
{jsonViewerContent}
+ {:else} + + {/if}
diff --git a/frontend/src/lib/components/FlowViewer.svelte b/frontend/src/lib/components/FlowViewer.svelte index 979b721792..8536ec1a59 100644 --- a/frontend/src/lib/components/FlowViewer.svelte +++ b/frontend/src/lib/components/FlowViewer.svelte @@ -2,7 +2,7 @@ import Highlight from 'svelte-highlight' import json from 'svelte-highlight/languages/json' import { faClipboard } from '@fortawesome/free-solid-svg-icons' - import type { FlowModule, FlowValue } from '$lib/gen' + import type { FlowValue } from '$lib/gen' import { Tab, Tabs, TabContent, Button } from './common' import SchemaViewer from './SchemaViewer.svelte' import FieldHeader from './FieldHeader.svelte' diff --git a/frontend/src/lib/components/ModuleStatus.svelte b/frontend/src/lib/components/ModuleStatus.svelte index 96e0244275..2f2960834c 100644 --- a/frontend/src/lib/components/ModuleStatus.svelte +++ b/frontend/src/lib/components/ModuleStatus.svelte @@ -30,6 +30,8 @@ {:else if type == FlowStatusModule.type.SUCCESS} Success +{:else if type == FlowStatusModule.type.FAILURE} + Failure {/if}