mirror of
https://github.com/hcengineering/platform.git
synced 2026-09-10 19:57:43 +02:00
Minor process fixes (#10416)
Signed-off-by: Denis Bykhov <bykhov.denis@gmail.com>
This commit is contained in:
@@ -60,7 +60,7 @@
|
||||
}
|
||||
|
||||
const ancestors = client.getHierarchy().getAncestors(masterTag)
|
||||
const roles = client.getModel().findAllSync(card.class.Role, { type: { $in: ancestors } })
|
||||
const roles = client.getModel().findAllSync(card.class.Role, { types: { $in: ancestors } })
|
||||
</script>
|
||||
|
||||
<div class="selectPopup" use:resizeObserver={() => dispatch('changeContent')}>
|
||||
|
||||
@@ -29,9 +29,9 @@
|
||||
const dispatch = createEventDispatcher()
|
||||
|
||||
function open (e: MouseEvent): void {
|
||||
const descendants = hierarchy.getDescendants(process.masterTag)
|
||||
const leftAssociations = client.getModel().findAllSync(core.class.Association, { classA: { $in: descendants } })
|
||||
const rightAssociations = client.getModel().findAllSync(core.class.Association, { classB: { $in: descendants } })
|
||||
const anc = hierarchy.getAncestors(process.masterTag)
|
||||
const leftAssociations = client.getModel().findAllSync(core.class.Association, { classA: { $in: anc } })
|
||||
const rightAssociations = client.getModel().findAllSync(core.class.Association, { classB: { $in: anc } })
|
||||
const items: SelectPopupValueType[] = []
|
||||
rightAssociations.forEach((a) => {
|
||||
items.push({
|
||||
|
||||
Reference in New Issue
Block a user