Skip to content

Commit 662a251

Browse files
authored
Merge pull request #2044 from umbraco/v14/bugfix/re-introduce-workspace-redirects
reintroduce redirects in workspace
2 parents 3bffc6c + 2a1527d commit 662a251

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

src/packages/core/workspace/components/workspace-editor/workspace-editor.element.ts

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -73,13 +73,13 @@ export class UmbWorkspaceEditorElement extends UmbLitElement {
7373

7474
// If we have a post fix then we need to add a direct from the empty url of the split-view-index:
7575
// TODO: This is problematic, cause if a workspaceView appears later, then this takes over. And it is also a problem if it does not use redirect, but just a view defined with and empty path.
76-
/*const firstRoute = newRoutes[0];
76+
const firstRoute = newRoutes[0];
7777
if (firstRoute) {
7878
newRoutes.push({
7979
path: ``,
8080
redirectTo: firstRoute.path,
8181
});
82-
}*/
82+
}
8383
}
8484

8585
this._routes = newRoutes;

0 commit comments

Comments
 (0)