From b68ee6d2e55c3ecec4622741b1351a41170bb148 Mon Sep 17 00:00:00 2001 From: Guilhem Date: Wed, 4 Feb 2026 10:59:49 +0000 Subject: [PATCH] remove job arg header --- frontend/src/lib/components/JobArgs.svelte | 55 +++++++++++----------- 1 file changed, 28 insertions(+), 27 deletions(-) diff --git a/frontend/src/lib/components/JobArgs.svelte b/frontend/src/lib/components/JobArgs.svelte index 68ca3c078f..ca861da9c5 100644 --- a/frontend/src/lib/components/JobArgs.svelte +++ b/frontend/src/lib/components/JobArgs.svelte @@ -66,46 +66,47 @@ ${Object.entries(args) >. {:else}
+
+ +
- - - {argLabel ?? 'Input'} - Value - - {#snippet headerAction()} -
- -
- {/snippet} - - + {#if argLabel} + + + {argLabel ?? 'Input'} + Value + + + {/if} {#if args && typeof args === 'object' && Object.keys(args ?? {}).length > 0} {#each Object.entries(args ?? {}).sort( (a, b) => a?.[0]?.localeCompare(b?.[0]) ) as [arg, value]} - {arg} - + {arg} + {/each} {:else if args && typeof args !== 'object'} - Argument is not an object (type: {typeof args}) + Argument is not an object (type: {typeof args}) {:else if args} - No arguments + No arguments {:else} - + - +