mirror of
https://github.com/eclipse-sailing-analytics/sailing-analytics.git
synced 2026-10-28 14:57:12 +00:00
Regatta list - Hide header information if value is 0
This commit is contained in:
1 parent
679436e32d
commit
6fa7023e20
1 file changed
+2
+2
@@ -40,8 +40,10 @@ public class RegattaHeaderBody extends UIObject {
|
||||
}
|
||||
|
||||
private void addDetailsItem(int count, String text) {
|
||||
if (count > 0) {
|
||||
addDetailsItem(count + " " + text);
|
||||
}
|
||||
}
|
||||
|
||||
private void addDetailsItem(String text) {
|
||||
DivElement detailsItem = DOM.createDiv().cast();
|
||||
|
||||
Reference in new issue
Block a user