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

@ -1,3 +1,3 @@
<?php
return '4.0.0-beta.14';
return '4.0.0-beta.15';

View File

@ -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>

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>

View File

@ -4,7 +4,7 @@
"version": "3.12.32"
},
"v4": {
"version": "4.0.0-beta.14"
"version": "4.0.0-beta.15"
}
}
}