Hide empty task-node parameter sections
This commit is contained in:
parent
52bb12edae
commit
6611bbe752
|
|
@ -318,21 +318,19 @@
|
|||
@if (arrayFields.length) {
|
||||
<div class="llm-array-sections">
|
||||
@for (arrayField of arrayFields; track arrayField.path) {
|
||||
@if (arrayField.items.length) {
|
||||
<div class="llm-array-block">
|
||||
<div class="llm-param-row-head">
|
||||
<div class="llm-param-key">{{ arrayField.label }}</div>
|
||||
</div>
|
||||
@if (!arrayField.items.length) {
|
||||
<div class="llm-array-empty">No items</div>
|
||||
} @else {
|
||||
@for (item of arrayField.items; track item.index) {
|
||||
<div class="llm-array-item">
|
||||
<span class="llm-array-item-summary">{{ item.summary }}</span>
|
||||
</div>
|
||||
}
|
||||
@for (item of arrayField.items; track item.index) {
|
||||
<div class="llm-array-item">
|
||||
<span class="llm-array-item-summary">{{ item.summary }}</span>
|
||||
</div>
|
||||
}
|
||||
</div>
|
||||
}
|
||||
}
|
||||
</div>
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Reference in New Issue