Refactor Show.php and docker.php to improve code readability and maintainability

This commit is contained in:
Andras Bacsai
2024-04-16 12:41:33 +02:00
parent 8a8000c80a
commit faa1120e14
2 changed files with 6 additions and 3 deletions

View File

@@ -50,9 +50,9 @@ class Show extends Component
public function checkEnvs()
{
$this->isDisabled = false;
if (str($this->env->key)->startsWith('SERVICE_FQDN') || str($this->env->key)->startsWith('SERVICE_URL')) {
$this->isDisabled = true;
}
// if (str($this->env->key)->startsWith('SERVICE_FQDN') || str($this->env->key)->startsWith('SERVICE_URL')) {
// $this->isDisabled = true;
// }
if ($this->env->is_shown_once) {
$this->isLocked = true;
}