fix: cancel deployment button
This commit is contained in:
@@ -22,13 +22,11 @@
|
||||
<h4>Found Destinations</h4>
|
||||
@endif
|
||||
@foreach ($networks as $network)
|
||||
<div class="flex gap-2 w-96">
|
||||
<div class="w-32">{{ data_get($network, 'Name') }}</div>
|
||||
<a
|
||||
href="{{ route('destination.new', ['server_id' => $server->id, 'network_name' => data_get($network, 'Name')]) }}">
|
||||
<x-forms.button>Configure</x-forms.button>
|
||||
</a>
|
||||
</div>
|
||||
<a
|
||||
href="{{ route('destination.new', ['server_id' => $server->id, 'network_name' => data_get($network, 'Name')]) }}">
|
||||
<x-forms.button>Add<span class="text-warning">{{ data_get($network, 'Name') }}</span>
|
||||
</x-forms.button>
|
||||
</a>
|
||||
@endforeach
|
||||
</div>
|
||||
</div>
|
||||
|
||||
@@ -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>
|
||||
|
||||
Reference in New Issue
Block a user