fix: do no able to delete gh app without deleting resources

This commit is contained in:
Andras Bacsai
2024-04-25 11:53:06 +02:00
parent e86f8ddd09
commit a72a25640f

View File

@@ -13,9 +13,15 @@
</x-forms.button> </x-forms.button>
</a> </a>
@endif @endif
<x-modal-confirmation isErrorButton buttonTitle="Delete"> @if ($applications->count() > 0)
This source will be deleted. It is not reversible. <br>Please think again. <x-modal-confirmation disabled isErrorButton buttonTitle="Delete">
</x-modal-confirmation> This source will be deleted. It is not reversible. <br>Please think again.
</x-modal-confirmation>
@else
<x-modal-confirmation isErrorButton buttonTitle="Delete">
This source will be deleted. It is not reversible. <br>Please think again.
</x-modal-confirmation>
@endif
</div> </div>
</div> </div>
<div class="subtitle">Your Private GitHub App for private repositories.</div> <div class="subtitle">Your Private GitHub App for private repositories.</div>