mirror of
https://github.com/hcengineering/platform.git
synced 2026-09-29 13:05:08 +02:00
Fix removed types (#8544)
Signed-off-by: Denis Bykhov <bykhov.denis@gmail.com>
This commit is contained in:
@@ -39,7 +39,7 @@
|
||||
const filtered: Ref<Class<Doc>>[] = []
|
||||
for (const _id of desc) {
|
||||
const _class = hierarchy.getClass(_id)
|
||||
if (_class.extends === id && _class._class === card.class.MasterTag) {
|
||||
if (_class.extends === id && _class._class === card.class.MasterTag && (_class as MasterTag).removed !== true) {
|
||||
filtered.push(_id)
|
||||
continue
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user