Merge remote-tracking branch 'origin/develop'
This commit is contained in:
commit
b001f6771d
1 changed files with 3 additions and 0 deletions
|
@ -38,6 +38,9 @@ class CategoriesTransformer
|
|||
case 'component':
|
||||
$category->item_count = $category->components_count;
|
||||
break;
|
||||
case 'license':
|
||||
$category->item_count = $category->licenses_count;
|
||||
break;
|
||||
default:
|
||||
$category->item_count = 0;
|
||||
}
|
||||
|
|
Loading…
Add table
Reference in a new issue