fix: 500 error on edge case
This commit is contained in:
parent
a72a25640f
commit
ee69cdbf7b
@ -36,10 +36,10 @@
|
||||
label="Commit SHA" />
|
||||
</div>
|
||||
</div>
|
||||
@isset($application->private_key_id)
|
||||
@if(data_get($application, 'private_key_id'))
|
||||
<h3 class="pt-4">Deploy Key</h3>
|
||||
<div class="py-2 pt-4">Currently attached Private Key: <span
|
||||
class="dark:text-warning">{{ $application->private_key->name }}</span>
|
||||
class="dark:text-warning">{{ data_get($application, 'private_key.name') }}</span>
|
||||
</div>
|
||||
|
||||
<h4 class="py-2 ">Select another Private Key</h4>
|
||||
@ -49,6 +49,6 @@ class="dark:text-warning">{{ $application->private_key->name }}</span>
|
||||
</x-forms.button>
|
||||
@endforeach
|
||||
</div>
|
||||
@endisset
|
||||
@endif
|
||||
</form>
|
||||
</div>
|
||||
|
Loading…
Reference in New Issue
Block a user