From c862e7086c4f6c3b80531b0540a274de06fba6b5 Mon Sep 17 00:00:00 2001 From: vince-fugnitto Date: Mon, 1 Nov 2021 14:09:03 -0400 Subject: [PATCH] core: fix `new window` command for the browser The commit fixes the `new window` command for the browser which previously would open an incorrect page since the `hash` (`#`) was not part of the url since we build it ourselves. Signed-off-by: vince-fugnitto --- packages/core/src/browser/window/default-window-service.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/packages/core/src/browser/window/default-window-service.ts b/packages/core/src/browser/window/default-window-service.ts index fccb9d9f420e3..c170d64277caf 100644 --- a/packages/core/src/browser/window/default-window-service.ts +++ b/packages/core/src/browser/window/default-window-service.ts @@ -50,7 +50,7 @@ export class DefaultWindowService implements WindowService, FrontendApplicationC } openNewDefaultWindow(): void { - this.openNewWindow(DEFAULT_WINDOW_HASH); + this.openNewWindow(`#${DEFAULT_WINDOW_HASH}`); } canUnload(): boolean {