From 6611bbe7522929fe5e44c5f996ad96caa59ec9d1 Mon Sep 17 00:00:00 2001 From: Lucio Lelii Date: Fri, 24 Apr 2026 12:18:55 +0200 Subject: [PATCH] Hide empty task-node parameter sections --- .../nodes/task-step-node/task-step-node.html | 14 ++++++-------- 1 file changed, 6 insertions(+), 8 deletions(-) diff --git a/src/app/shared/nodes/task-step-node/task-step-node.html b/src/app/shared/nodes/task-step-node/task-step-node.html index 5ef1319..c82b03d 100644 --- a/src/app/shared/nodes/task-step-node/task-step-node.html +++ b/src/app/shared/nodes/task-step-node/task-step-node.html @@ -318,21 +318,19 @@ @if (arrayFields.length) {
@for (arrayField of arrayFields; track arrayField.path) { + @if (arrayField.items.length) {
{{ arrayField.label }}
- @if (!arrayField.items.length) { -
No items
- } @else { - @for (item of arrayField.items; track item.index) { -
- {{ item.summary }} -
- } + @for (item of arrayField.items; track item.index) { +
+ {{ item.summary }} +
}
} + }
}