Skip to content

Commit b96090e

Browse files
mlopezFCjavier-godoy
authored andcommitted
fix: fix content setting in router layout
1 parent 4f519c2 commit b96090e

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/main/java/com/flowingcode/addons/applayout/AbstractFcAppRouterLayout.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -69,7 +69,7 @@ protected void showRouterLayoutContent(AppLayout app, HasElement content) {
6969
content.getElement().getStyle().set("display", "flex");
7070
content.getElement().getStyle().set("flex-direction", "column");
7171
app.setCaption(getCaption(content));
72-
RouterLayout.super.showRouterLayoutContent(content);
72+
app.getElement().appendChild(content.getElement());
7373
}
7474

7575
private static String getCaption(HasElement content) {

0 commit comments

Comments
 (0)