Add index variable to forEach loop in queue-items.jelly (#26355)

Fixes a regression in the Build History widget when all the queued tasks show up with the same number
This commit is contained in:
Denys Digtiar authored and GitHub committed 2026-02-23 18:37:36 -07:00
1 parent ab8e9a00c8
commit 61c1b3206a
1 file changed
+1 -1
@@ -32,7 +32,7 @@ THE SOFTWARE.
<j:set var="queuedItems" value="${it.queueItems}"/>
<j:if test="${!queuedItems.isEmpty()}">
<span class="app-builds-container__heading">${%Pending}</span>
<j:forEach var="pageEntry" items="${queuedItems}">
<j:forEach var="pageEntry" items="${queuedItems}" indexVar="i">
<j:set var="item" value="${pageEntry.entry}"/>
<j:set var="id" value="${h.generateId()}"/>