Allow child classes in navigator model (#5275)

Signed-off-by: Alexander Onnikov <Alexander.Onnikov@xored.com>
This commit is contained in:
Alexander Onnikov
2024-04-10 02:20:49 +07:00
committed by GitHub
parent 38ac81d6c1
commit 9d414439b9
3 changed files with 15 additions and 7 deletions
+1 -4
View File
@@ -18,7 +18,7 @@ import { NotificationGroup, NotificationType } from '@hcengineering/notification
import type { Asset, Plugin, Resource } from '@hcengineering/platform'
import { IntlString, plugin } from '@hcengineering/platform'
import type { AnyComponent, Location, ResolvedLocation } from '@hcengineering/ui'
import { Action, Viewlet } from '@hcengineering/view'
import { Action } from '@hcengineering/view'
import { Document, DocumentEmbedding, DocumentSnapshot, SavedDocument, Teamspace } from './types'
/**
@@ -75,9 +75,6 @@ export const documentPlugin = plugin(documentId, {
DocumentNotificationGroup: '' as Ref<NotificationGroup>,
ContentNotification: '' as Ref<NotificationType>
},
viewlet: {
TableBranches: '' as Ref<Viewlet>
},
descriptor: {
TeamspaceType: '' as Ref<SpaceTypeDescriptor>
},