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:
spencerrlongg 2025-03-25 14:39:51 -05:00
parent 2d3514bbf8
commit 168a3df157

View file

@ -555,7 +555,7 @@ class AssetPresenter extends Presenter
*/
public function statusMeta()
{
if ($this->model->assigned) {
if ($this->model->assigned_to) {
return 'deployed';
}