fixes wrong default component selection

Thu, 13 May 2021 10:23:37 +0200

author
Mike Becker <universe@uap-core.de>
date
Thu, 13 May 2021 10:23:37 +0200
changeset 194
2b3b7d0a885e
parent 193
1e4044d29b1c
child 195
9c7aff3cbb14

fixes wrong default component selection

src/main/webapp/WEB-INF/jsp/issue-form.jsp file | annotate | diff | comparison | revisions
--- a/src/main/webapp/WEB-INF/jsp/issue-form.jsp	Thu May 13 10:16:57 2021 +0200
+++ b/src/main/webapp/WEB-INF/jsp/issue-form.jsp	Thu May 13 10:23:37 2021 +0200
@@ -92,7 +92,6 @@
                     <c:forEach var="comp" items="${viewmodel.components}">
                         <option
                                 <c:if test="${not empty issue.component and comp eq issue.component}">selected</c:if>
-                                <c:if test="${empty issue.component and comp eq comp}">selected</c:if>
                                 value="${comp.id}"><c:out value="${comp.name}"/></option>
                     </c:forEach>
                 </select>

mercurial