This commit is contained in:
Andras Bacsai
2023-05-31 14:42:37 +02:00
parent 5b3a3edcd0
commit 25870dadd8
10 changed files with 31 additions and 15 deletions

View File

@@ -1,3 +1,8 @@
<div>
<x-forms.button wire:click.prevent="cancel">Cancel deployment</x-forms.button>
<h3>Actions</h3>
@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>