Merge remote-tracking branch 'origin/develop'

This commit is contained in:
snipe 2024-07-11 12:01:28 +01:00
commit c1937b6ea8

View file

@ -36,7 +36,7 @@ class AssetCountForSidebar
try {
$total_assets = Asset::count();
if ($settings->show_archived_in_list != '1') {
$total_assets = Asset::Archived()->count();
$total_assets -= Asset::Archived()->count();
}
view()->share('total_assets', $total_assets);
} catch (\Exception $e) {