Fix service name

This commit is contained in:
Deon George 2020-07-22 14:58:32 +10:00
parent 9ca3644625
commit 9887996da8
No known key found for this signature in database
GPG Key ID: 7670E8DC27415254
1 changed files with 1 additions and 1 deletions

View File

@ -616,7 +616,7 @@ class Service extends Model
*/
public function getNameShortAttribute()
{
return $this->type ? $this->type->name : $this->id;
return $this->type ? $this->type->service_name : $this->id;
}
/**