Skip to content

Commit 5c7a9c2

Browse files
committed
Hide research focus if empty (fix #115)
1 parent ca436b8 commit 5c7a9c2

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

src/main/resources/templates/userView.html

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -244,7 +244,8 @@ <h3 class="mb-0">Publications</h3>
244244

245245
<th:block th:each="taxon : ${viewUser.taxons}">
246246

247-
<div class="row mb-3">
247+
<div class="row mb-3"
248+
th:unless="${#strings.isEmpty(viewUser.taxonDescriptions.get(taxon))}">
248249
<div class="col">
249250
<div class="card research-info edit-container">
250251
<div class="card-header d-flex align-items-center">

0 commit comments

Comments
 (0)