@acorex/platform 21.0.0-next.51 → 21.0.0-next.53

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.
@@ -629,7 +629,7 @@ class AXPActivityDefinitionService {
629
629
  if (definition && definition.category) {
630
630
  // Try to find category by name/id
631
631
  const categories = await this.getCategories();
632
- const found = categories.find((cat) => cat.id === definition.category);
632
+ const found = categories.find((cat) => cat.id === definition.category?.id);
633
633
  if (found) {
634
634
  return found.id;
635
635
  }