show card space (#10150)

Signed-off-by: Denis Bykhov <bykhov.denis@gmail.com>
This commit is contained in:
Denis Bykhov
2025-10-25 11:13:30 +05:00
committed by GitHub
parent 28fb9a4baf
commit d952aa15b6
+5
View File
@@ -93,6 +93,11 @@ export class TTag extends TMixin implements Tag {
@Model(card.class.Card, core.class.Doc, DOMAIN_CARD)
@UX(card.string.Card, card.icon.Card)
export class TCard extends TDoc implements Card {
@Prop(TypeRef(card.class.CardSpace), core.string.Space)
@Index(IndexKind.Indexed)
@ReadOnly()
declare space: Ref<CardSpace>
@Prop(TypeRef(card.class.MasterTag), card.string.MasterTag)
declare _class: Ref<MasterTag>