lasthourcloud/resources/views/livewire/project/delete-environment.blade.php
Andras Bacsai d2b0823cd0 fix
2023-05-25 14:05:44 +02:00

13 lines
448 B
PHP

<div x-data="{ deleteEnvironment: false }">
<x-naked-modal show="deleteEnvironment" message='Are you sure you would like to delete this environment?' />
@if ($resource_count > 0)
<x-forms.button tooltip="First delete all resources." disabled>
Delete
</x-forms.button>
@else
<x-forms.button x-on:click.prevent="deleteEnvironment = true">
Delete
</x-forms.button>
@endif
</div>