Merge remote-tracking branch 'origin/develop'
This commit is contained in:
commit
4642f50d6b
1 changed files with 1 additions and 1 deletions
|
@ -35,7 +35,7 @@ class AssetCountForSidebar
|
|||
}
|
||||
|
||||
try {
|
||||
$total_assets = Asset::all()->count();
|
||||
$total_assets = Asset::count();
|
||||
if ($settings->show_archived_in_list != '1') {
|
||||
$total_assets -= Asset::Archived()->count();
|
||||
}
|
||||
|
|
Loading…
Add table
Reference in a new issue