mirror of
https://github.com/snipe/snipe-it.git
synced 2024-12-25 13:44:06 -08:00
Fix peresenter for assigned
This commit is contained in:
parent
f3f84f1a8c
commit
2244a4b3cf
|
@ -346,7 +346,7 @@ class AssetPresenter extends Presenter
|
|||
*/
|
||||
public function statusMeta()
|
||||
{
|
||||
if ($this->model->assignedTo) {
|
||||
if ($this->model->assigned) {
|
||||
return strtolower(trans('general.deployed'));
|
||||
}
|
||||
return $this->model->assetstatus->getStatuslabelType();
|
||||
|
|
Loading…
Reference in a new issue