From eac3f46c1b26ac91297b8bf6c7d1785720f8e784 Mon Sep 17 00:00:00 2001 From: Andreas Mautsch Date: Sat, 4 Nov 2023 09:25:26 +0100 Subject: [PATCH] changes --- src/main/java/org/goafabric/core/ui/MainView.java | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/src/main/java/org/goafabric/core/ui/MainView.java b/src/main/java/org/goafabric/core/ui/MainView.java index 11f6d411..60e91199 100644 --- a/src/main/java/org/goafabric/core/ui/MainView.java +++ b/src/main/java/org/goafabric/core/ui/MainView.java @@ -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; @@ -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 { @@ -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 @@ -50,6 +49,8 @@ public boolean handleRequest(VaadinSession session, VaadinRequest request, Vaadi return false; } }); + + */ createHeader(); createDrawer(); }