Skip to content

Commit 3c7120c

Browse files
committed
/series/import/request/{id}: don't show category if it's unknown.
Fix #766
1 parent c505b03 commit 3c7120c

File tree

1 file changed

+1
-1
lines changed
  • src/main/webapp/WEB-INF/views/series/import

1 file changed

+1
-1
lines changed

src/main/webapp/WEB-INF/views/series/import/info.html

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -114,7 +114,7 @@ <h3 th:text="#{t_gathered_data}">
114114
<div class="table-responsive">
115115
<table class="table">
116116

117-
<tr th:classappend="${#fields.hasErrors('category') ? 'has-error' : ''}">
117+
<tr th:if="${not disabled or importSeriesForm.category != null}" th:classappend="${#fields.hasErrors('category') ? 'has-error' : ''}">
118118
<th>
119119
<label for="category" class="control-label" th:text="#{t_category}">
120120
Category

0 commit comments

Comments
 (0)