Skip to content

Commit 469a155

Browse files
committed
Use showCallbackUrl check
1 parent fd38aca commit 469a155

1 file changed

Lines changed: 2 additions & 2 deletions

File tree

src/lib/components/workflow/workflow-callback.svelte

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -44,7 +44,7 @@
4444
titles[callback.state] || translate('nexus.nexus-callback'),
4545
);
4646
const links = $derived(callback?.callback?.links || []);
47-
const hideCallbackUrl = $derived(links.length || link || !callbackUrl);
47+
const showCallbackUrl = $derived(!links.length && !link && callbackUrl);
4848
</script>
4949

5050
<Alert icon="nexus" intent={failed ? 'error' : 'info'} {title}>
@@ -91,7 +91,7 @@
9191
</p>
9292
{/if}
9393
</div>
94-
{#if hideCallbackUrl}
94+
{#if showCallbackUrl}
9595
<p class="flex items-center gap-2">
9696
{translate('nexus.callback-url')}
9797
<Badge type="subtle">{callbackUrl}</Badge>

0 commit comments

Comments
 (0)