fix: cancel deployment button

This commit is contained in:
Andras Bacsai
2023-06-28 13:27:05 +02:00
parent 63accc552a
commit 47d37c6047
4 changed files with 7 additions and 11 deletions

View File

@@ -2,7 +2,5 @@
<h2>Logs</h2>
@if (data_get($activity, 'properties.status') === 'in_progress')
<x-forms.button wire:click.prevent="cancel">Cancel deployment</x-forms.button>
@else
<x-forms.button disabled>Cancel deployment</x-forms.button>
@endif
</div>