UBERF-8433: Support for archived workspaces (#6937)

Signed-off-by: Andrey Sobolev <haiodo@gmail.com>
This commit is contained in:
Andrey Sobolev
2024-11-12 18:06:51 +07:00
committed by GitHub
parent 1afe8ef326
commit a220fac255
29 changed files with 506 additions and 119 deletions
@@ -20,6 +20,7 @@
import {
Icon,
IconCheck,
Label,
Loading,
Location,
SearchEdit,
@@ -178,6 +179,9 @@
<div class="flex-col flex-grow">
<span class="label overflow-label flex flex-grow flex-between">
{wsName}
{#if ws.mode === 'archived'}
- <Label label={presentation.string.Archived} />
{/if}
{#if ws.region != null && ws.region !== ''}
- ({ws.region})
{/if}
@@ -14,6 +14,7 @@
-->
<script lang="ts">
import { getMetadata } from '@hcengineering/platform'
import { upgradeDownloadProgress } from '@hcengineering/presentation'
import {
Button,
Component,
@@ -25,7 +26,6 @@
location,
setMetadataLocalStorage
} from '@hcengineering/ui'
import { upgradeDownloadProgress } from '@hcengineering/presentation'
import { connect, disconnect, versionError } from '../connect'
import workbench, { workbenchId } from '@hcengineering/workbench'