Skip to content

Commit

Permalink
changes
Browse files Browse the repository at this point in the history
  • Loading branch information
Andreas Mautsch committed Nov 4, 2023
1 parent d933320 commit eac3f46
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions src/main/java/org/goafabric/core/ui/MainView.java
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,6 @@
import com.vaadin.flow.router.PageTitle;
import com.vaadin.flow.router.Route;
import com.vaadin.flow.router.RouterLink;
import com.vaadin.flow.server.*;
import com.vaadin.flow.theme.lumo.Lumo;
import com.vaadin.flow.theme.lumo.LumoUtility;
import org.goafabric.core.extensions.HttpInterceptor;
Expand All @@ -32,7 +31,6 @@
import org.goafabric.core.ui.practice.Organization;
import org.springframework.beans.factory.annotation.Value;

import java.io.IOException;
import java.net.URL;

public class MainView extends AppLayout {
Expand All @@ -42,6 +40,7 @@ public class MainView extends AppLayout {

public MainView(@Value("${monitoring.view.enabled:true}") boolean monitoringViewEnabled) {
this.monitoringViewEnabled = monitoringViewEnabled;
/*
VaadinSession.getCurrent().addRequestHandler(
new RequestHandler() {
@Override
Expand All @@ -50,6 +49,8 @@ public boolean handleRequest(VaadinSession session, VaadinRequest request, Vaadi
return false;
}
});
*/
createHeader();
createDrawer();
}
Expand Down

0 comments on commit eac3f46

Please sign in to comment.