We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 260a41b commit fd38acaCopy full SHA for fd38aca
1 file changed
src/lib/components/workflow/workflow-callback.svelte
@@ -44,6 +44,7 @@
44
titles[callback.state] || translate('nexus.nexus-callback'),
45
);
46
const links = $derived(callback?.callback?.links || []);
47
+ const hideCallbackUrl = $derived(links.length || link || !callbackUrl);
48
</script>
49
50
<Alert icon="nexus" intent={failed ? 'error' : 'info'} {title}>
@@ -90,7 +91,7 @@
90
91
</p>
92
{/if}
93
</div>
- {#if !link}
94
+ {#if hideCallbackUrl}
95
<p class="flex items-center gap-2">
96
{translate('nexus.callback-url')}
97
<Badge type="subtle">{callbackUrl}</Badge>
0 commit comments