An open-source, self-hostable PaaS alternative to Vercel, Heroku & Netlify that lets you easily deploy static sites, databases, full-stack applications and 360+ one-click services on your own servers.
PHP coolifydatabasesdeploymentdockerdocker-composeinertiajslaravelmariadbmysqlnextjsnodejsphppostgresredisself-hostedself-hostingserverstatic-sitesveltesvelte5
fix: confirmation for custom labels
Andras Bacsai6b4987bf3958
diff --git a/app/Livewire/Project/Application/General.php b/app/Livewire/Project/Application/General.phpindex 8734229855..2141a86d1b 100644--- a/app/Livewire/Project/Application/General.php+++ b/app/Livewire/Project/Application/General.php@@ -255,7 +255,6 @@ class General extends Component}public function resetDefaultLabels(){- ray('resetDefaultLabels');$this->customLabels = str(implode("|", generateLabelsApplication($this->application)))->replace("|", "\n");$this->ports_exposes = $this->application->ports_exposes;diff --git a/resources/views/livewire/project/application/general.blade.php b/resources/views/livewire/project/application/general.blade.phpindex c6aa058135..bd7e171ec6 100644--- a/resources/views/livewire/project/application/general.blade.php+++ b/resources/views/livewire/project/application/general.blade.php@@ -242,7 +242,10 @@@endif</div><x-forms.textarea label="Container Labels" rows="15" id="customLabels"></x-forms.textarea>- <x-forms.button wire:click="resetDefaultLabels">Reset to Coolify Generated Labels</x-forms.button>+ <x-modal-confirmation buttonFullWidth action="resetDefaultLabels" buttonTitle="Reset to Coolify Generated Labels">+ Are you sure you want to reset the labels to Coolify generated labels? <br>It could break the proxy configuration after you restart the container.+ </x-modal-confirmation>+@endif<h3 class="pt-8">Pre/Post Deployment Commands</h3>