mirror of
https://github.com/snipe/snipe-it.git
synced 2024-12-26 06:04:08 -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()
|
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();
|
||||||
|
|
Loading…
Reference in a new issue