mirror of
https://github.com/tiennm99/coolify.git
synced 2026-10-16 06:14:21 +00:00
fix
This commit is contained in:
1 parent
b68aabb2c9
commit
c9c56c915c
4 files changed
+22
-2
No files matched your search
@@ -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