Signed-off-by: Andrey Sobolev <haiodo@gmail.com>
This commit is contained in:
Andrey Sobolev
2022-02-03 10:03:53 +01:00
committed by GitHub
parent e7c0f2406a
commit 8c51a4ec2c
12 changed files with 233 additions and 174 deletions
+2 -1
View File
@@ -14,7 +14,7 @@
//
import type { Class, Doc, Mixin, Obj, Ref, Space } from '@anticrm/core'
import type { Asset, IntlString, Metadata, Plugin } from '@anticrm/platform'
import type { Asset, IntlString, Metadata, Plugin, Resource } from '@anticrm/platform'
import { plugin } from '@anticrm/platform'
import type { AnyComponent } from '@anticrm/ui'
@@ -59,6 +59,7 @@ export interface SpecialNavModel {
icon: Asset
component: AnyComponent
position?: 'top'|'bottom' // undefined == 'top
visibleIf?: Resource<(spaces: Space[]) => boolean>
}
/**