From 630f7983ad9b44ad6e13877d209ce5aa28ec62b6 Mon Sep 17 00:00:00 2001 From: SuZhou-Joe Date: Thu, 3 Aug 2023 16:08:34 +0800 Subject: [PATCH] feat: update Signed-off-by: SuZhou-Joe --- .../public/components/utils/workspace_column.tsx | 9 --------- 1 file changed, 9 deletions(-) diff --git a/src/plugins/workspace/public/components/utils/workspace_column.tsx b/src/plugins/workspace/public/components/utils/workspace_column.tsx index cd7c8717fd79..819bcd913742 100644 --- a/src/plugins/workspace/public/components/utils/workspace_column.tsx +++ b/src/plugins/workspace/public/components/utils/workspace_column.tsx @@ -27,15 +27,6 @@ function WorkspaceColumn({ coreSetup, workspaces, record }: WorkspaceColumnProps return map.set(ws.id, ws.name); }, new Map()); - const publicWsName = i18n.translate('workspace.public.name', { - defaultMessage: 'public', - }); - wsLookUp?.set('public', publicWsName); - - if (workspaces?.includes(PUBLIC_WORKSPACE)) { - return {publicWsName}; - } - const workspaceNames = workspaces?.map((wsId) => wsLookUp?.get(wsId)).join(' | '); return {workspaceNames};