Fix regressions from cfd9dce620 (#12344)

This commit is contained in:
Jellyfrog
2020-11-24 00:16:41 +01:00
committed by GitHub
parent f2f169ae78
commit 305f97161a
2 changed files with 1 additions and 1 deletions

View File

@@ -18,7 +18,7 @@ class Vminfo extends DeviceRelatedModel
protected $table = 'vminfo';
public $timestamps = false;
public function getStateLabelAttribute(): string
public function getStateLabelAttribute(): array
{
return Html::powerStateLabel($this->vmwVmState);
}