mirror of
https://github.com/hcengineering/platform.git
synced 2025-05-30 12:20:00 +00:00
merge list categories (#2905)
Signed-off-by: Ruslan Bayandinov <wazsone@ya.ru>
This commit is contained in:
parent
905ad83f00
commit
66b5e5d69e
@ -85,7 +85,7 @@
|
|||||||
const f = await getResource(categoryFunc.action)
|
const f = await getResource(categoryFunc.action)
|
||||||
const res = hierarchy.clone(await f(_class, query, groupByKey, update, queryId, $statusStore))
|
const res = hierarchy.clone(await f(_class, query, groupByKey, update, queryId, $statusStore))
|
||||||
if (res !== undefined) {
|
if (res !== undefined) {
|
||||||
categories = res
|
categories = Array.from(new Set([...categories, ...res]))
|
||||||
return
|
return
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user