From 6b4987bf395816b2ee71974dd507ffbecb2c3b30 Mon Sep 17 00:00:00 2001 From: Andras Bacsai Date: Mon, 6 May 2024 12:52:06 +0200 Subject: [PATCH] fix: confirmation for custom labels --- app/Livewire/Project/Application/General.php | 1 - .../views/livewire/project/application/general.blade.php | 5 ++++- 2 files changed, 4 insertions(+), 2 deletions(-) diff --git a/app/Livewire/Project/Application/General.php b/app/Livewire/Project/Application/General.php index 873422985..2141a86d1 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.php index c6aa05813..bd7e171ec 100644 --- a/resources/views/livewire/project/application/general.blade.php +++ b/resources/views/livewire/project/application/general.blade.php @@ -242,7 +242,10 @@ @endif - Reset to Coolify Generated Labels + + Are you sure you want to reset the labels to Coolify generated labels?
It could break the proxy configuration after you restart the container. +
+ @endif

Pre/Post Deployment Commands