mirror of
https://github.com/snipe/snipe-it.git
synced 2024-12-25 05:34:06 -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)
|
@foreach ($assets as $asset)
|
||||||
@php
|
@php
|
||||||
if($snipeSettings->show_archived_in_list != 1 && $asset->assetstatus->name === 'Archived'){
|
if($snipeSettings->show_archived_in_list != 1 && $asset->assetstatus->archived == 1){
|
||||||
continue;
|
continue;
|
||||||
}
|
}
|
||||||
@endphp
|
@endphp
|
||||||
|
|
Loading…
Reference in a new issue