diff --git a/plugin/src/software/aws/toolkits/eclipse/amazonq/views/router/ViewRouter.java b/plugin/src/software/aws/toolkits/eclipse/amazonq/views/router/ViewRouter.java index 765e90e4..f26be533 100644 --- a/plugin/src/software/aws/toolkits/eclipse/amazonq/views/router/ViewRouter.java +++ b/plugin/src/software/aws/toolkits/eclipse/amazonq/views/router/ViewRouter.java @@ -39,6 +39,11 @@ private ViewRouter(final Builder builder) { builder.lspStateObservable = Activator.getEventBroker().ofObservable(LspState.class); } + if (builder.browserCompatibilityState == null) { + builder.browserCompatibilityState = Activator.getEventBroker() + .ofObservable(BrowserCompatibilityState.class); + } + if (builder.webViewAssetState == null) { builder.webViewAssetState = Activator.getEventBroker().ofObservable(WebViewAssetState.class); }