lasthourcloud/resources/views/livewire/project/delete-environment.blade.php
Andras Bacsai bbcabc8e71 woah
2023-06-07 15:08:35 +02:00

13 lines
472 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 Environment
</x-forms.button>
@else
<x-forms.button x-on:click.prevent="deleteEnvironment = true">
Delete Environment
</x-forms.button>
@endif
</div>