fix static build

This commit is contained in:
Saeed Vaziry
2024-10-13 17:55:48 +02:00
parent 37f502d6dd
commit 321465d3e2
11 changed files with 8 additions and 36 deletions

View File

@ -25,7 +25,6 @@
* @property string $status
* @property bool $is_default
* @property Server $server
* @property string $image_url
*/
class Service extends AbstractModel
{
@ -124,9 +123,4 @@ public function disable(): void
{
$this->unit && app(Manage::class)->disable($this);
}
public function getImageUrlAttribute(): string
{
return url('/static/images/'.$this->name.'.svg');
}
}