mirror of
https://github.com/hcengineering/platform.git
synced 2026-09-23 18:15:03 +02:00
Fix ws acrhived teset (#10259)
Signed-off-by: Denis Bykhov <bykhov.denis@gmail.com>
This commit is contained in:
@@ -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
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user