From acf10f39f33d7a499d7a9320c2d34f3b7d1e0390 Mon Sep 17 00:00:00 2001 From: Andras Bacsai Date: Mon, 16 Dec 2024 10:19:11 +0100 Subject: [PATCH] fix: compose loading seq --- app/Livewire/Project/Application/General.php | 6 +++--- .../views/livewire/project/application/general.blade.php | 5 ++--- 2 files changed, 5 insertions(+), 6 deletions(-) diff --git a/app/Livewire/Project/Application/General.php b/app/Livewire/Project/Application/General.php index ff29b74e9..d1cc3476c 100644 --- a/app/Livewire/Project/Application/General.php +++ b/app/Livewire/Project/Application/General.php @@ -327,7 +327,7 @@ class General extends Component } } - public function set_redirect() + public function setRedirect() { try { $has_www = collect($this->application->fqdns)->filter(fn ($fqdn) => str($fqdn)->contains('www.'))->count(); @@ -360,10 +360,10 @@ class General extends Component if ($warning) { $this->dispatch('warning', __('warning.sslipdomain')); } - $this->resetDefaultLabels(); + // $this->resetDefaultLabels(); if ($this->application->isDirty('redirect')) { - $this->set_redirect(); + $this->setRedirect(); } $this->checkFqdns(); diff --git a/resources/views/livewire/project/application/general.blade.php b/resources/views/livewire/project/application/general.blade.php index 4812fd4ba..bdcde8deb 100644 --- a/resources/views/livewire/project/application/general.blade.php +++ b/resources/views/livewire/project/application/general.blade.php @@ -84,7 +84,7 @@ @@ -161,8 +161,7 @@
Nixpacks will detect the required configuration automatically. - Framework + Framework Specific Docs
@endif