Separate tracker deployment (#1245)

Signed-off-by: Andrey Sobolev <haiodo@gmail.com>
This commit is contained in:
Andrey Sobolev
2022-04-01 12:57:22 +07:00
committed by GitHub
parent 8cd1797696
commit 6fcbd14d6f
56 changed files with 904 additions and 215 deletions
@@ -18,7 +18,7 @@
import core, { Client, getCurrentAccount, Ref, Space } from '@anticrm/core'
import notification, { NotificationStatus } from '@anticrm/notification'
import { NotificationClientImpl } from '@anticrm/notification-resources'
import { IntlString } from '@anticrm/platform'
import { getMetadata, IntlString } from '@anticrm/platform'
import { Avatar, createQuery, setClient } from '@anticrm/presentation'
import {
AnyComponent, closePopup,
@@ -178,8 +178,10 @@
let apps: Application[] = []
const excludedApps = getMetadata(workbench.metadata.ExcludedApplications) ?? []
const query = createQuery()
$: query.query(workbench.class.Application, { hidden: false }, (result) => {
$: query.query(workbench.class.Application, { hidden: false, _id: { $nin: excludedApps } }, (result) => {
apps = result
})
@@ -14,13 +14,16 @@
-->
<script lang="ts">
import { getMetadata } from '@anticrm/platform'
import { connect, versionError } from '@anticrm/presentation'
import { Loading } from '@anticrm/ui'
import Workbench from './Workbench.svelte'
import workbench from '../plugin'
</script>
{#await connect('Platform')}
{#await connect(getMetadata(workbench.metadata.PlatformTitle) ?? 'Platform')}
<Loading/>
{:then client}
{#if !client && versionError}