diff --git a/src/lib/components/workflow/relationships/workflow-family-node-description-details.svelte b/src/lib/components/workflow/relationships/workflow-family-node-description-details.svelte index 31ca061e25..8a6d20470b 100644 --- a/src/lib/components/workflow/relationships/workflow-family-node-description-details.svelte +++ b/src/lib/components/workflow/relationships/workflow-family-node-description-details.svelte @@ -15,7 +15,7 @@ namespace: string; isRootWorkflow?: boolean; isActive?: boolean; - children?: number; + childrenCount?: number; expanded?: boolean; }; @@ -24,7 +24,7 @@ namespace, isRootWorkflow = false, isActive = false, - children = 0, + childrenCount = 0, expanded = false, }: Props = $props(); @@ -36,7 +36,9 @@ }), ); - const showExpandIcon = $derived(!isRootWorkflow && $showFullTree && children); + const showExpandIcon = $derived( + !isRootWorkflow && $showFullTree && childrenCount, + );
{translate('common.child-count')}

{/if}
- {children} + {childrenCount}
{/if} diff --git a/src/lib/components/workflow/relationships/workflow-family-node-description.svelte b/src/lib/components/workflow/relationships/workflow-family-node-description.svelte index 554b95925b..59f3641dd4 100644 --- a/src/lib/components/workflow/relationships/workflow-family-node-description.svelte +++ b/src/lib/components/workflow/relationships/workflow-family-node-description.svelte @@ -1,5 +1,5 @@ @@ -69,7 +75,11 @@ {#await fetchWorkflowsForTree()} {:then root} - + {#if root} + + {:else} + + {/if} {:catch} {/await} diff --git a/src/lib/components/workflow/workflows-summary-configurable-table/batch-actions.svelte b/src/lib/components/workflow/workflows-summary-configurable-table/batch-actions.svelte index bd345f0b45..49b16293c3 100644 --- a/src/lib/components/workflow/workflows-summary-configurable-table/batch-actions.svelte +++ b/src/lib/components/workflow/workflows-summary-configurable-table/batch-actions.svelte @@ -1,7 +1,7 @@ {#if $allSelected} @@ -77,7 +79,7 @@ ({translate('workflows.select-all-leading')}