Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line numberDiff line numberDiff line change
Expand Up@@ -52,6 +52,9 @@ export class FusionLayout extends LitElement {
@property({type: String})
appLogoAlt = "Logo";

@property({type: String})
welcomeRoute = "welcome";

@property({type: String})
userName = "User";

Expand DownExpand Up@@ -176,9 +179,10 @@ export class FusionLayout extends LitElement {
this.buildMenuEventListener,
false
);
let welcomeRoute = this.welcomeRoute;
window.addEventListener("message", function(event) {
if (event.data == 'redirect-welcome') {
Router.go("welcome");
Router.go(welcomeRoute);
}
});
}
Expand Down