Fix peresenter for assigned

This commit is contained in:
snipe 2017-10-28 15:17:09 -07:00
parent f3f84f1a8c
commit 2244a4b3cf

View file

@ -346,7 +346,7 @@ class AssetPresenter extends Presenter
*/ */
public function statusMeta() public function statusMeta()
{ {
if ($this->model->assignedTo) { if ($this->model->assigned) {
return strtolower(trans('general.deployed')); return strtolower(trans('general.deployed'));
} }
return $this->model->assetstatus->getStatuslabelType(); return $this->model->assetstatus->getStatuslabelType();