From 207cb4c72a83d265645fa77cee8f27d5cfc81d6d Mon Sep 17 00:00:00 2001 From: Denis Bykhov Date: Fri, 28 Nov 2025 18:30:39 +0500 Subject: [PATCH] Fix ws acrhived teset (#10259) Signed-off-by: Denis Bykhov --- plugins/workbench-resources/src/connect.ts | 18 ++++-------------- 1 file changed, 4 insertions(+), 14 deletions(-) diff --git a/plugins/workbench-resources/src/connect.ts b/plugins/workbench-resources/src/connect.ts index c2baa6f8e1..0b6b13a49b 100644 --- a/plugins/workbench-resources/src/connect.ts +++ b/plugins/workbench-resources/src/connect.ts @@ -285,20 +285,10 @@ export async function connect (title: string): Promise { onError: (status: StatusCode) => { switch (status) { case platform.status.WorkspaceArchived: { - translateCB(plugin.string.WorkspaceIsArchived, {}, get(themeStore).language, (r) => { - error.set(r) - errorActions.set([ - { - label: login.string.SelectWorkspace, - action: () => { - const selectWorkspace: Pages = 'selectWorkspace' - navigate({ - path: [loginId, selectWorkspace], - query: {} - }) - } - } - ]) + const selectWorkspace: Pages = 'selectWorkspace' + navigate({ + path: [loginId, selectWorkspace], + query: {} }) break }