Merge remote-tracking branch 'origin/develop'

This commit is contained in:
snipe 2020-11-17 19:22:56 -08:00
commit e805feff9e

View file

@ -165,6 +165,8 @@ class Category extends SnipeModel
return $this->components()->count();
case 'consumable':
return $this->consumables()->count();
case 'license':
return $this->licenses()->count();
}
return '0';
}