Fix ws acrhived teset (#10259)

Signed-off-by: Denis Bykhov <bykhov.denis@gmail.com>
This commit is contained in:
Denis Bykhov
2025-11-28 20:30:39 +07:00
committed by GitHub
parent 73a99cb37d
commit 207cb4c72a
+4 -14
View File
@@ -285,20 +285,10 @@ export async function connect (title: string): Promise<Client | undefined> {
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
}