mirror of
https://github.com/hcengineering/platform.git
synced 2025-05-16 12:32:19 +00:00
Fix removed types (#8543)
Signed-off-by: Denis Bykhov <bykhov.denis@gmail.com>
This commit is contained in:
parent
89f29b13d4
commit
7eedda7b91
@ -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
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user