Fix front and backend views with new service variable setups
This commit is contained in:
parent
66e94dd7c0
commit
fcadee7e67
14 changed files with 104 additions and 93 deletions
|
@ -51,17 +51,6 @@ class ServiceOption extends Model
|
|||
'service_id' => 'integer',
|
||||
];
|
||||
|
||||
/**
|
||||
* Returns the display executable for the option and will use the parent
|
||||
* service one if the option does not have one defined.
|
||||
*
|
||||
* @return string
|
||||
*/
|
||||
public function getDisplayExecutableAttribute($value)
|
||||
{
|
||||
return (is_null($this->executable)) ? $this->service->executable : $this->executable;
|
||||
}
|
||||
|
||||
/**
|
||||
* Returns the display startup string for the option and will use the parent
|
||||
* service one if the option does not have one defined.
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue