mirror of
https://github.com/hcengineering/platform.git
synced 2026-09-29 04:55:03 +02:00
Nested view setting (#10838)
Signed-off-by: Denis Bykhov <bykhov.denis@gmail.com>
This commit is contained in:
@@ -259,7 +259,7 @@
|
||||
const parentMixins = hierarchy
|
||||
.getDescendants(parent)
|
||||
.map((p) => hierarchy.getClass(p))
|
||||
.filter((p) => hierarchy.isMixin(p._id) && p.extends && ancestors.has(p.extends))
|
||||
.filter((p) => hierarchy.isMixin(p._id) && ancestors.has(hierarchy.getBaseClass(p._id)))
|
||||
|
||||
parentMixins.forEach((it) => {
|
||||
hierarchy.getOwnAttributes(it._id).forEach((attr) => {
|
||||
|
||||
@@ -402,7 +402,7 @@
|
||||
const parentMixins = hierarchy
|
||||
.getDescendants(parent)
|
||||
.map((p) => hierarchy.getClass(p))
|
||||
.filter((p) => hierarchy.isMixin(p._id) && p.extends && ancestors.has(p.extends))
|
||||
.filter((p) => hierarchy.isMixin(p._id) && ancestors.has(hierarchy.getBaseClass(p._id)))
|
||||
|
||||
parentMixins.forEach((it) => {
|
||||
hierarchy.getOwnAttributes(it._id).forEach((attr) => {
|
||||
|
||||
Reference in New Issue
Block a user