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