mirror of
https://github.com/hcengineering/platform.git
synced 2025-05-29 03:21:13 +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
|
||||
} else {
|
||||
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) {
|
||||
attrs.set(key, attr ?? null)
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user