mirror of
https://github.com/ToolJet/ToolJet
synced 2026-05-23 17:08:34 +00:00
Merge pull request #12595 from ToolJet/fix/workspace-archiving
[post-modularisation]Fixed: Not able to archive the current workspace
This commit is contained in:
commit
e395d7a834
1 changed files with 1 additions and 1 deletions
|
|
@ -333,7 +333,7 @@ export class SessionUtilService {
|
|||
})
|
||||
: null;
|
||||
|
||||
const noWorkspaceAttachedInTheSession = await this.checkUserWorkspaceStatus(user.id);
|
||||
const noWorkspaceAttachedInTheSession = await this.checkUserWorkspaceStatus(user.id) && !isSuperAdmin(user);
|
||||
const isAllWorkspacesArchived = await this.#isAllWorkspacesArchivedBySuperAdmin(user.id);
|
||||
const onboardingFlags = await this.#onboardingFlags(user);
|
||||
const metadata = await this.metadataUtilService.fetchMetadata();
|
||||
|
|
|
|||
Loading…
Reference in a new issue