mirror of
https://github.com/windmill-labs/windmill.git
synced 2026-08-25 00:01:55 +00:00
fix: only display error handler span if toggled on
This commit is contained in:
@@ -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>
|
||||
|
||||
Reference in New Issue
Block a user