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: allow editing comments on locked environment variables
Andras Bacsai4623853c997b
diff --git a/resources/views/livewire/project/shared/environment-variable/show.blade.php b/resources/views/livewire/project/shared/environment-variable/show.blade.phpindex 48fb5f1bfa..43eb883354 100644--- a/resources/views/livewire/project/shared/environment-variable/show.blade.php+++ b/resources/views/livewire/project/shared/environment-variable/show.blade.php@@ -21,13 +21,11 @@step2ButtonText="Permanently Delete" />@endcan</div>- @if ($comment)+ @can('update', $this->env)<div class="w-full">- <x-forms.input disabled id="comment" label="Comment"- helper="Documentation for this environment variable." maxlength="256" />+ <x-forms.input instantSave id="comment" label="Comment (Optional)"+ helper="Add a note to document what this environment variable is used for." maxlength="256" /></div>- @endif- @can('update', $this->env)<div class="flex flex-col w-full gap-3"><div class="flex flex-wrap w-full items-center gap-4">@if (!$is_redis_credential)@@ -115,6 +113,10 @@@endif</div></div>+ <div class="w-full">+ <x-forms.input disabled id="comment" label="Comment"+ helper="Documentation for this environment variable." maxlength="256" />+ </div>@endcan@else@can('update', $this->env)