mirror of
https://github.com/snipe/snipe-it.git
synced 2025-02-21 03:15:45 -08:00
Small refactor for AssetPresenter method
This commit is contained in:
parent
a9441521a4
commit
5f65f993a0
|
@ -331,9 +331,8 @@ class AssetPresenter extends Presenter
|
|||
return $this->model->model->name.' ('.$this->model->asset_tag.')';
|
||||
}
|
||||
return $this->model->asset_tag;
|
||||
} else {
|
||||
return $this->model->name . ' (' . $this->model->asset_tag . ')';
|
||||
}
|
||||
return $this->model->name . ' (' . $this->model->asset_tag . ')';
|
||||
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in a new issue