Fixed typo

Signed-off-by: snipe <snipe@snipe.net>
This commit is contained in:
snipe 2024-07-11 11:59:47 +01:00
parent 5364838fc0
commit 34b49ef079

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) {