Regatta list - Hide header information if value is 0

This commit is contained in:
Benjamin Barth committed 2015-07-13 16:17:34 +02:00
1 parent 679436e32d
commit 6fa7023e20
1 file changed
+3 -1
@@ -40,7 +40,9 @@ public class RegattaHeaderBody extends UIObject {
}
private void addDetailsItem(int count, String text) {
addDetailsItem(count + " " + text);
if (count > 0) {
addDetailsItem(count + " " + text);
}
}
private void addDetailsItem(String text) {