@followupus/common 0.9.8 → 0.9.9

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -472,7 +472,8 @@ export const filterItemsByConditions = (groups, filter, headers, currentUserId)
472
472
  }
473
473
  groups.forEach(g => {
474
474
  g.items = g.items?.filter(item => {
475
- return checkItemMatched(item, validConditions, headers);
475
+ return (checkItemMatched(item, validConditions, headers) ||
476
+ item.subs?.some(sub => checkItemMatched(sub, validConditions, headers)));
476
477
  });
477
478
  });
478
479
  return groups;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@followupus/common",
3
- "version": "0.9.8",
3
+ "version": "0.9.9",
4
4
  "description": "followup common utils npm package with TypeScript and VSCode",
5
5
  "main": "./dist/index.js",
6
6
  "module": "./dist/index.js",