fix
This commit is contained in:
@@ -6,7 +6,7 @@
|
||||
<x-forms.button wire:click.prevent='submit' type="submit">
|
||||
Save
|
||||
</x-forms.button>
|
||||
@if ($destination->network !== 'coolify')
|
||||
@if ($destination->server->id === 0 && $destination->network !== 'coolify')
|
||||
<x-forms.button x-on:click.prevent="deleteDestination = true">
|
||||
Delete
|
||||
</x-forms.button>
|
||||
|
||||
@@ -4,7 +4,7 @@
|
||||
<div class="flex gap-2">
|
||||
<h2>General</h2>
|
||||
<x-forms.button type="submit">Save</x-forms.button>
|
||||
@if ($server->id !== 0)
|
||||
@if ($server->id !== 0 || config('app.env') === 'local')
|
||||
<x-forms.button x-on:click.prevent="deleteServer = true">
|
||||
Delete
|
||||
</x-forms.button>
|
||||
|
||||
Reference in New Issue
Block a user