Skip to content

Commit

Permalink
core: fix new window command for the browser
Browse files Browse the repository at this point in the history
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 <[email protected]>
  • Loading branch information
vince-fugnitto committed Nov 9, 2021
1 parent 9ce6feb commit c862e70
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion packages/core/src/browser/window/default-window-service.ts
Original file line number Diff line number Diff line change
Expand Up @@ -50,7 +50,7 @@ export class DefaultWindowService implements WindowService, FrontendApplicationC
}

openNewDefaultWindow(): void {
this.openNewWindow(DEFAULT_WINDOW_HASH);
this.openNewWindow(`#${DEFAULT_WINDOW_HASH}`);
}

canUnload(): boolean {
Expand Down

0 comments on commit c862e70

Please sign in to comment.