From 0f6b74f39152295ae1fd87a5e15358072e24b8f4 Mon Sep 17 00:00:00 2001 From: Paola De Bartolo Date: Fri, 29 Sep 2023 15:28:46 -0300 Subject: [PATCH] fix(demo): fix hide/show source in basic demo --- .../flowingcode/vaadin/addons/badgelist/BadgeListDemo.java | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/src/test/java/com/flowingcode/vaadin/addons/badgelist/BadgeListDemo.java b/src/test/java/com/flowingcode/vaadin/addons/badgelist/BadgeListDemo.java index ee3efb7..2553510 100644 --- a/src/test/java/com/flowingcode/vaadin/addons/badgelist/BadgeListDemo.java +++ b/src/test/java/com/flowingcode/vaadin/addons/badgelist/BadgeListDemo.java @@ -54,9 +54,11 @@ public BadgeListDemo() { grid.addColumn(Person::getTitle).setHeader("Title"); grid.setWidthFull(); - add(grid); // show-source + // show-source add(grid); + // #if vaadin eq 0 add( this.createContainerDiv( - "BadgeList as part of resizable column 'Roles'", grid)); // hide-source + "BadgeList as part of resizable column 'Roles'", grid)); + // #endif } }