Enable creation of domains and domain service editing

This commit is contained in:
Deon George
2022-10-18 14:17:50 +11:00
parent 0b4e3a9341
commit c96d264c8f
12 changed files with 143 additions and 25 deletions

View File

@@ -800,7 +800,7 @@ class Service extends Model implements IDs
*/
public function getNameDetailAttribute()
{
return ($this->type && $this->type->getServiceDescriptionAttribute()) ? $this->type->getServiceDescriptionAttribute() : 'No Description';
return ($this->type && ($this->type->getServiceDescriptionAttribute() !== NULL)) ? $this->type->getServiceDescriptionAttribute() : 'No Description';
}
/**