Refactor environment variable sorting by key

This commit is contained in:
Andras Bacsai
2024-04-08 11:16:42 +02:00
parent b63aaad645
commit a2e889587e
4 changed files with 5 additions and 5 deletions

View File

@@ -12,7 +12,7 @@
</div>
<div class="flex flex-col gap-2">
@forelse ($team->environment_variables->sort()->sortBy('real_value') as $env)
@forelse ($team->environment_variables->sort()->sortBy('key') as $env)
<livewire:project.shared.environment-variable.show wire:key="environment-{{ $env->id }}"
:env="$env" type="team" />
@empty