mirror of
https://github.com/hcengineering/platform.git
synced 2025-05-11 01:40:32 +00:00
Fix removed types (#8748)
Signed-off-by: Denis Bykhov <bykhov.denis@gmail.com>
This commit is contained in:
parent
80b9b38cf4
commit
87e5bcfe3a
@ -93,6 +93,7 @@
|
||||
const _class = hierarchy.getClass(desc)
|
||||
if (_class.label === undefined) continue
|
||||
if (_class.kind !== ClassifierKind.CLASS) continue
|
||||
if ((_class as MasterTag).removed === true) continue
|
||||
added.add(desc)
|
||||
toAdd.push(_class)
|
||||
}
|
||||
|
@ -35,7 +35,13 @@
|
||||
const desc = hierarchy.getDescendants(_class)
|
||||
for (const clazz of desc) {
|
||||
const cls = hierarchy.getClass(clazz)
|
||||
if (cls.extends === _class && !cls.hidden && kind === cls.kind && cls.label !== undefined) {
|
||||
if (
|
||||
cls.extends === _class &&
|
||||
!cls.hidden &&
|
||||
kind === cls.kind &&
|
||||
cls.label !== undefined &&
|
||||
(cls as MasterTag).removed !== true
|
||||
) {
|
||||
result.push(clazz)
|
||||
}
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user