mirror of
https://github.com/snipe/snipe-it.git
synced 2024-12-24 21:24:13 -08:00
Use the property 'archived' so if the 'name' one changes it doesn't fails
This commit is contained in:
parent
1b433920f1
commit
1ae665b645
|
@ -127,7 +127,7 @@
|
|||
|
||||
@foreach ($assets as $asset)
|
||||
@php
|
||||
if($snipeSettings->show_archived_in_list != 1 && $asset->assetstatus->name === 'Archived'){
|
||||
if($snipeSettings->show_archived_in_list != 1 && $asset->assetstatus->archived == 1){
|
||||
continue;
|
||||
}
|
||||
@endphp
|
||||
|
|
Loading…
Reference in a new issue