mirror of
https://github.com/snipe/snipe-it.git
synced 2024-12-25 13:44:06 -08:00
Fixes status display in listing
This commit is contained in:
parent
1399ebb133
commit
daaf98783f
|
@ -359,7 +359,7 @@ class AssetPresenter extends Presenter
|
|||
*/
|
||||
public function statusText()
|
||||
{
|
||||
if ($this->model->assignedTo) {
|
||||
if ($this->model->assignedTo()) {
|
||||
return trans('general.deployed');
|
||||
}
|
||||
return $this->model->assetstatus->name;
|
||||
|
|
Loading…
Reference in a new issue