Skip to content

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.

Merge remote-tracking branch 'origin/next' into automation/sync-main-to-next

Andras Bacsai9708b78bee79
diff --cc resources/views/livewire/project/shared/environment-variable/show.blade.php
index aaa1b185d8,30ef3f6598..a79c5e5d69
--- a/resources/views/livewire/project/shared/environment-variable/show.blade.php
+++ b/resources/views/livewire/project/shared/environment-variable/show.blade.php
@@@ -83,11 -83,13 +83,14 @@@
@endif
@endforeach
@endif
- <div class="justify-self-end">
+ <div class="flex items-center gap-0.5 justify-self-end">
+ @if (! $isLocked && ! $isValueHidden)
+ <x-copy-button resolve="$wire.copyValue()" label="Copy value" />
+ @endif
{{-- Open modal immediately (Alpine); decrypt value in a follow-up Livewire request. --}}
<x-modal-input title="Edit environment variable" :closeOutside="false" :wireIgnore="false"
- wireOpen="editorOpen">
+ wireOpen="editorOpen"
+ @environment-variable-updated.window="if ($event.detail.envId === @js($env->id)) modalOpen = false">
<x-slot:content>
<button type="button" wire:click="loadValues" data-env-settings-trigger class="icon-button shrink-0"
title="Edit environment variable" aria-label="Edit environment variable">