fix: 500 error on edge case
This commit is contained in:
parent
a72a25640f
commit
ee69cdbf7b
1 changed files with 3 additions and 3 deletions
|
|
@ -36,10 +36,10 @@
|
||||||
label="Commit SHA" />
|
label="Commit SHA" />
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
@isset($application->private_key_id)
|
@if(data_get($application, 'private_key_id'))
|
||||||
<h3 class="pt-4">Deploy Key</h3>
|
<h3 class="pt-4">Deploy Key</h3>
|
||||||
<div class="py-2 pt-4">Currently attached Private Key: <span
|
<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>
|
</div>
|
||||||
|
|
||||||
<h4 class="py-2 ">Select another Private Key</h4>
|
<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>
|
</x-forms.button>
|
||||||
@endforeach
|
@endforeach
|
||||||
</div>
|
</div>
|
||||||
@endisset
|
@endif
|
||||||
</form>
|
</form>
|
||||||
</div>
|
</div>
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue