From 1c695316a46f0d843506c74c94e04a05798be311 Mon Sep 17 00:00:00 2001 From: Lin Wang Date: Sun, 25 Jun 2023 16:45:34 +0800 Subject: [PATCH] feat: redirect to workspace update page after workspace switch (#30) --- .../workspace_dropdown_list/workspace_dropdown_list.tsx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/plugins/workspace/public/containers/workspace_dropdown_list/workspace_dropdown_list.tsx b/src/plugins/workspace/public/containers/workspace_dropdown_list/workspace_dropdown_list.tsx index 9ad6b7b27e7b..cd9e7b829d69 100644 --- a/src/plugins/workspace/public/containers/workspace_dropdown_list/workspace_dropdown_list.tsx +++ b/src/plugins/workspace/public/containers/workspace_dropdown_list/workspace_dropdown_list.tsx @@ -59,7 +59,7 @@ export function WorkspaceDropdownList(props: WorkspaceDropdownListProps) { const id = workspaceOption[0].key!; const newUrl = coreStart.workspaces?.formatUrlWithWorkspaceId( coreStart.application.getUrlForApp(WORKSPACE_APP_ID, { - path: PATHS.overview, + path: PATHS.update, absolute: true, }), id