fix: server is functional check
This commit is contained in:
@@ -1,5 +1,5 @@
|
||||
<div>
|
||||
@if ($server->settings->is_usable)
|
||||
@if ($server->isFunctional())
|
||||
<div class="flex items-end gap-2">
|
||||
<h2>Destinations</h2>
|
||||
<a href="{{ route('destination.new', ['server_id' => $server->id]) }}">
|
||||
|
@@ -20,7 +20,7 @@
|
||||
@endif
|
||||
|
||||
</div>
|
||||
@if (!$server->settings->is_reachable || !$server->settings->is_usable)
|
||||
@if (!$server->isFunctional())
|
||||
You can't use this server until it is validated.
|
||||
@else
|
||||
Server validated.
|
||||
@@ -57,7 +57,7 @@
|
||||
Install Docker Engine 24.0
|
||||
</x-forms.button>
|
||||
@endif
|
||||
@if ($server->settings->is_usable)
|
||||
@if ($server->isFunctional())
|
||||
<h3 class="py-4">Settings</h3>
|
||||
<x-forms.input id="cleanup_after_percentage" label="Disk Cleanup threshold (%)" required
|
||||
helper="Disk cleanup job will be executed if disk usage is more than this number." />
|
||||
|
@@ -1,5 +1,5 @@
|
||||
<div>
|
||||
@if (data_get($server,'settings.is_usable'))
|
||||
@if ($server->isFunctional())
|
||||
@if (data_get($server,'proxy.type'))
|
||||
<x-modal submitWireAction="proxyStatusUpdated" modalId="startProxy">
|
||||
<x-slot:modalBody>
|
||||
|
Reference in New Issue
Block a user