diff --git a/pom.xml b/pom.xml
index ea2a626..3ebd8a2 100644
--- a/pom.xml
+++ b/pom.xml
@@ -20,7 +20,7 @@
17
- 2.7.0
+ 2.7.1-SNAPSHOT
2.5.0
24.5.5
21
@@ -230,14 +230,6 @@
-
- central
- https://repo.maven.apache.org/maven2
-
- false
-
-
-
diff --git a/src/main/java/com/pi4j/boardinfoservice/views/BoardInfoView.java b/src/main/java/com/pi4j/boardinfoservice/views/BoardInfoView.java
index 636cf9c..55517e1 100644
--- a/src/main/java/com/pi4j/boardinfoservice/views/BoardInfoView.java
+++ b/src/main/java/com/pi4j/boardinfoservice/views/BoardInfoView.java
@@ -63,9 +63,7 @@ public void setParameter(BeforeEvent event, @OptionalParameter String parameter)
.filter(bm -> bm.name().equalsIgnoreCase(parameter == null ? "" : parameter))
.findFirst()
.orElse(BoardModel.UNKNOWN);
- UI.getCurrent().access(() -> {
- showBoard(selectedBoard);
- });
+ UI.getCurrent().access(() -> showBoard(selectedBoard));
}
@Override
@@ -130,8 +128,11 @@ private void showBoard(BoardModel boardModel) {
boardModel.getVersionsMemoryInGb().stream()
.map(String::valueOf)
.collect(Collectors.joining(", "))));
- holder.add(getLabelValue("Remarks", boardModel.getRemarks().isEmpty() ? "" :
- String.join(", ", boardModel.getRemarks())));
+ if (!boardModel.getRemarks().isEmpty()) {
+ var remarks = new VerticalLayout();
+ holder.add(remarks);
+ boardModel.getRemarks().forEach(r -> remarks.add(new Div(r)));
+ }
holder.add(new H3("Header(s)"));