Skip to content

Commit

Permalink
fix: only display error handler span if toggled on
Browse files Browse the repository at this point in the history
  • Loading branch information
rubenfiszel committed Oct 4, 2022
1 parent b1b418a commit ce0a410
Showing 1 changed file with 8 additions and 6 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -51,11 +51,13 @@
</div>

<div class="w-full truncate block">
<span
>{$flowStore.value.failure_module?.summary ||
($flowStore.value.failure_module?.value.type === 'rawscript'
? `Inline ${$flowStore.value.failure_module?.value.language}`
: 'Select a script')}</span
>
{#if Boolean($flowStore.value.failure_module)}
<span
>{$flowStore.value.failure_module?.summary ||
($flowStore.value.failure_module?.value.type === 'rawscript'
? `Inline ${$flowStore.value.failure_module?.value.language}`
: 'Select a script')}</span
>
{/if}
</div>
</div>

0 comments on commit ce0a410

Please sign in to comment.