diff --git a/app/Presenters/AssetPresenter.php b/app/Presenters/AssetPresenter.php index d685dab938..d04b92a815 100644 --- a/app/Presenters/AssetPresenter.php +++ b/app/Presenters/AssetPresenter.php @@ -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;