This commit is contained in:
Andras Bacsai
2023-06-22 10:20:38 +02:00
parent 33cae2c222
commit 3af354b343

View File

@@ -22,15 +22,17 @@
@endif @endif
</div> </div>
<h3 class="pb-4">Select a different Private Key</h3> @if ($server->id !== 0)
<div class="grid gap-2"> <h3 class="pb-4">Select a different Private Key</h3>
@forelse ($privateKeys as $private_key) <div class="grid gap-2">
<x-forms.button wire:click='setPrivateKey({{ $private_key->id }})'>{{ $private_key->name }} @forelse ($privateKeys as $private_key)
</x-forms.button> <x-forms.button wire:click='setPrivateKey({{ $private_key->id }})'>{{ $private_key->name }}
@empty </x-forms.button>
<div>No private keys found. @empty
<x-use-magic-bar /> <div>No private keys found.
</div> <x-use-magic-bar />
@endforelse </div>
</div> @endforelse
</div>
@endif
</div> </div>