Skip to content

Commit

Permalink
Added empty check in plot description
Browse files Browse the repository at this point in the history
  • Loading branch information
ahcorde committed Mar 7, 2020
1 parent 88f34c1 commit 7d8730c
Showing 1 changed file with 3 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -53,7 +53,9 @@
<img src="getPlot?index=${index}&amp;width=750&amp;height=450" width="750" height="450" lazymap="getPlotMap?index=${index}" />
<div style="width:750px">
<j:if test="${it.getPlotDescription(index) != null}">
<b>Description</b>: <j:out value="${it.getPlotDescription(index)}"/>
<j:if test="${!it.getPlotDescription(index).isEmpty()}">
<b>Description</b>: <j:out value="${it.getPlotDescription(index)}"/>
</j:if>
</j:if>
</div>
</div>
Expand Down

0 comments on commit 7d8730c

Please sign in to comment.