Skip to content

Commit

Permalink
fix(demo): use @ParentLayout instead of just @route
Browse files Browse the repository at this point in the history
  • Loading branch information
paodb authored and javier-godoy committed Nov 23, 2022
1 parent 2d1eb44 commit 9d9afa5
Showing 1 changed file with 3 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -24,10 +24,12 @@
import com.flowingcode.vaadin.addons.GithubLink;
import com.flowingcode.vaadin.addons.demo.TabbedDemo;
import com.vaadin.flow.component.dependency.StyleSheet;
import com.vaadin.flow.router.ParentLayout;
import com.vaadin.flow.router.Route;

@SuppressWarnings("serial")
@Route(value = "grid-helpers", layout = DemoLayout.class)
@ParentLayout(DemoLayout.class)
@Route("grid-helpers")
@GithubLink("https://github.com/FlowingCode/GridHelpers")
@StyleSheet("context://gridhelpers/styles.css")
public class GridHelpersDemoView extends TabbedDemo {
Expand Down

0 comments on commit 9d9afa5

Please sign in to comment.