Skip to content

Commit e0e30da

Browse files
paodbjavier-godoy
authored andcommitted
build(demo): update commons-demo version to 3.5.0
1 parent 44f8c59 commit e0e30da

File tree

3 files changed

+7
-3
lines changed

3 files changed

+7
-3
lines changed

pom.xml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -120,7 +120,7 @@
120120
<dependency>
121121
<groupId>com.flowingcode.vaadin.addons.demo</groupId>
122122
<artifactId>commons-demo</artifactId>
123-
<version>3.3.0</version>
123+
<version>3.5.0</version>
124124
<scope>test</scope>
125125
</dependency>
126126
</dependencies>

src/test/java/com/flowingcode/vaadin/addons/rssitems/RssitemsDemo.java

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -23,9 +23,11 @@
2323
import com.flowingcode.vaadin.addons.demo.DemoSource;
2424
import com.vaadin.flow.component.orderedlayout.FlexLayout;
2525
import com.vaadin.flow.router.PageTitle;
26+
import com.vaadin.flow.router.Route;
2627

2728
@PageTitle("Rss Items Demo")
2829
@DemoSource
30+
@Route(value = "rss-items/rss-items", layout = RssitemsDemoView.class)
2931
@SuppressWarnings("serial")
3032
public class RssitemsDemo extends FlexLayout {
3133

src/test/java/com/flowingcode/vaadin/addons/rssitems/RssitemsDemoView.java

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -23,18 +23,20 @@
2323
import com.flowingcode.vaadin.addons.DemoLayout;
2424
import com.flowingcode.vaadin.addons.GithubLink;
2525
import com.flowingcode.vaadin.addons.demo.TabbedDemo;
26+
import com.vaadin.flow.router.ParentLayout;
2627
import com.vaadin.flow.router.Route;
2728

2829
/**
2930
* @author Martin Lopez / Flowing Code
3031
*/
31-
@Route(value = "rss-items", layout = DemoLayout.class)
32+
@ParentLayout(DemoLayout.class)
33+
@Route("rss-items")
3234
@SuppressWarnings("serial")
3335
@GithubLink("https://github.com/FlowingCode/RssItemsAddon")
3436
public class RssitemsDemoView extends TabbedDemo {
3537

3638
public RssitemsDemoView() {
37-
addDemo(new RssitemsDemo());
39+
addDemo(RssitemsDemo.class);
3840
setSizeFull();
3941
}
4042

0 commit comments

Comments
 (0)