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 } }