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: remove duplicate delete button from locked environment variable view
Andras Bacsaic1be02dfb908
diff --git a/resources/views/livewire/project/shared/environment-variable/show.blade.php b/resources/views/livewire/project/shared/environment-variable/show.blade.phpindex b41d223cec..918df8e504 100644--- a/resources/views/livewire/project/shared/environment-variable/show.blade.php+++ b/resources/views/livewire/project/shared/environment-variable/show.blade.php@@ -73,14 +73,6 @@</div><div class="flex w-full justify-end gap-2"><x-forms.button type="submit">Update</x-forms.button>- @can('delete', $this->env)- <x-modal-confirmation title="Confirm Environment Variable Deletion?" isErrorButton- buttonTitle="Delete" submitAction="delete" :actions="['The selected environment variable will be permanently deleted.']"- confirmationText="{{ $env->key }}" buttonFullWidth="true"- confirmationLabel="Please confirm the execution of the actions by entering the Environment Variable Name below"- shortConfirmationLabel="Environment Variable Name" :confirmWithPassword="false"- step2ButtonText="Permanently Delete" />- @endcan</div>@else<div class="flex flex-col w-full gap-3">