mirror of
https://github.com/hcengineering/platform.git
synced 2026-09-22 09:35:00 +02:00
Separate tracker deployment (#1245)
Signed-off-by: Andrey Sobolev <haiodo@gmail.com>
This commit is contained in:
@@ -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}
|
||||
|
||||
Reference in New Issue
Block a user