Fix condition in statusMeta for correct property check
Updated the conditional check to use 'assigned_to' instead of 'assigned' for determining the deployment status. This ensures the code references the correct property on the model.
This commit is contained in:
parent
2d3514bbf8
commit
168a3df157
1 changed files with 1 additions and 1 deletions
|
@ -555,7 +555,7 @@ class AssetPresenter extends Presenter
|
||||||
*/
|
*/
|
||||||
public function statusMeta()
|
public function statusMeta()
|
||||||
{
|
{
|
||||||
if ($this->model->assigned) {
|
if ($this->model->assigned_to) {
|
||||||
return 'deployed';
|
return 'deployed';
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Add table
Reference in a new issue