mirror of
https://github.com/hcengineering/platform.git
synced 2025-06-02 13:52:40 +00:00
Fix full text attribute error (#7173)
Signed-off-by: Andrey Sobolev <haiodo@gmail.com>
This commit is contained in:
parent
63294b0c66
commit
00cb05e25a
@ -69,7 +69,7 @@ export async function OnChange (txes: Tx[], control: TriggerControl): Promise<Tx
|
|||||||
// Skip operator changes
|
// Skip operator changes
|
||||||
} else {
|
} else {
|
||||||
const key = upd.objectClass + '.' + k
|
const key = upd.objectClass + '.' + k
|
||||||
const attr = attrs.get(key) ?? control.hierarchy.getAttribute(upd.objectClass, k)
|
const attr = attrs.get(key) ?? control.hierarchy.findAttribute(upd.objectClass, k)
|
||||||
if (attr !== undefined) {
|
if (attr !== undefined) {
|
||||||
attrs.set(key, attr ?? null)
|
attrs.set(key, attr ?? null)
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user