Skip to content

Commit

Permalink
when switch workspace, change destination from update to overview
Browse files Browse the repository at this point in the history
Signed-off-by: yuye-aws <yuyezhu@amazon.com>
  • Loading branch information
yuye-aws committed Aug 1, 2023
1 parent cce95fd commit b221f55
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/plugins/workspace/public/components/utils/workspace.ts
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@ type Core = Pick<CoreStart, 'workspaces' | 'application'>;
export const switchWorkspace = ({ workspaces, application }: Core, id: string) => {
const newUrl = workspaces?.formatUrlWithWorkspaceId(
application.getUrlForApp(WORKSPACE_APP_ID, {
path: PATHS.update,
path: PATHS.overview,
absolute: true,
}),
id
Expand Down

0 comments on commit b221f55

Please sign in to comment.