Skip to content

Commit 9d9afa5

Browse files
paodbjavier-godoy
authored andcommitted
fix(demo): use @ParentLayout instead of just @route
1 parent 2d1eb44 commit 9d9afa5

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

src/test/java/com/flowingcode/vaadin/addons/gridhelpers/GridHelpersDemoView.java

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -24,10 +24,12 @@
2424
import com.flowingcode.vaadin.addons.GithubLink;
2525
import com.flowingcode.vaadin.addons.demo.TabbedDemo;
2626
import com.vaadin.flow.component.dependency.StyleSheet;
27+
import com.vaadin.flow.router.ParentLayout;
2728
import com.vaadin.flow.router.Route;
2829

2930
@SuppressWarnings("serial")
30-
@Route(value = "grid-helpers", layout = DemoLayout.class)
31+
@ParentLayout(DemoLayout.class)
32+
@Route("grid-helpers")
3133
@GithubLink("https://github.com/FlowingCode/GridHelpers")
3234
@StyleSheet("context://gridhelpers/styles.css")
3335
public class GridHelpersDemoView extends TabbedDemo {

0 commit comments

Comments
 (0)