feat: preselect prod or first env when selecting a project

feat: quickly switch between environments
This commit is contained in:
Andras Bacsai
2024-06-21 13:54:13 +02:00
parent f607aa1233
commit c5083ea897
5 changed files with 59 additions and 2 deletions

View File

@@ -0,0 +1,8 @@
<x-forms.select label="Switch Environment" wire:model.live="selectedEnvironment">
<option value="edit">Create/Edit Environments</option>
<option disabled>-----</option>
@foreach ($environments as $environment)
<option value="{{ $environment->name }}">{{ $environment->name }}
</option>
@endforeach
</x-forms.select>