mirror of
https://github.com/ershisan99/coolify.git
synced 2025-12-17 12:33:06 +00:00
okay, now it is way better
This commit is contained in:
@@ -30,4 +30,14 @@ class ServiceApplication extends BaseModel
|
||||
{
|
||||
saveFileVolumesHelper($this);
|
||||
}
|
||||
public function configurationRequired() {
|
||||
$required = false;
|
||||
foreach($this->fileStorages as $fileStorage) {
|
||||
if (!$fileStorage->is_directory && $fileStorage->content == null) {
|
||||
$required = true;
|
||||
break;
|
||||
}
|
||||
}
|
||||
return $required;
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user