mirror of
https://github.com/hcengineering/platform.git
synced 2025-04-13 03:40:48 +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 res = hierarchy.clone(await f(_class, query, groupByKey, update, queryId, $statusStore))
|
||||
if (res !== undefined) {
|
||||
categories = res
|
||||
categories = Array.from(new Set([...categories, ...res]))
|
||||
return
|
||||
}
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user