mirror of
https://github.com/hcengineering/platform.git
synced 2025-04-15 12:55:59 +00:00
Fix Skills category is empty (#1647)
Signed-off-by: Andrey Sobolev <haiodo@gmail.com>
This commit is contained in:
parent
c2766b4e19
commit
86ea9694f3
@ -41,10 +41,10 @@
|
||||
let categoryKeys: Ref<TagCategory>[] = []
|
||||
|
||||
const elementsQuery = createQuery()
|
||||
$: if ((tagElements?.size ?? 0) > 0) {
|
||||
$: if (tagElements !== undefined && tagElements.size > 0) {
|
||||
elementsQuery.query(
|
||||
tags.class.TagElement,
|
||||
{ targetClass },
|
||||
{ _id: { $in: Array.from(tagElements?.keys()) }, targetClass },
|
||||
(res) => {
|
||||
elements = res
|
||||
},
|
||||
|
Loading…
Reference in New Issue
Block a user