Skip to content

Commit

Permalink
Fix check if label should be rendered
Browse files Browse the repository at this point in the history
  • Loading branch information
morpheus-87 committed Jun 4, 2021
1 parent 75352b3 commit 458e4d2
Showing 1 changed file with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@

<th:block th:fragment="renderWebpage(webpage, locale)">
<div class="webpage">
<th:block th:if="${renderLabel}">
<th:block th:if="${#objects.nullSafe(renderLabel, true)}">
<!-- label of webpage: -->
<div class="webpage-label">
<th:block th:insert="cudami/fragments/localizedtext::renderLocalizedText(${webpage.label}, ${locale})"></th:block>
Expand All @@ -28,5 +28,5 @@
</div>
</th:block>

</body>
</body>
</html>

0 comments on commit 458e4d2

Please sign in to comment.