mirror of
https://github.com/snipe/snipe-it.git
synced 2024-12-25 21:54:14 -08:00
Fixed typo
Signed-off-by: snipe <snipe@snipe.net>
This commit is contained in:
parent
5364838fc0
commit
34b49ef079
|
@ -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) {
|
||||
|
|
Loading…
Reference in a new issue