mirror of
https://github.com/snipe/snipe-it.git
synced 2024-11-10 07:34:06 -08:00
Use ther morphto assigned
This commit is contained in:
parent
daaf98783f
commit
c37fa44f72
|
@ -359,7 +359,7 @@ class AssetPresenter extends Presenter
|
|||
*/
|
||||
public function statusText()
|
||||
{
|
||||
if ($this->model->assignedTo()) {
|
||||
if ($this->model->assigned) {
|
||||
return trans('general.deployed');
|
||||
}
|
||||
return $this->model->assetstatus->name;
|
||||
|
|
Loading…
Reference in a new issue