mirror of
https://github.com/jenkinsci/jenkins.git
synced 2026-10-26 19:15:09 +00:00
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:
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()}"/>
|
||||
|
||||
|
||||
Reference in new issue
Block a user