Refactor server navbar and proxy components

This commit is contained in:
Andras Bacsai
2024-05-03 10:54:44 +02:00
parent a8ddf4c2df
commit 644f15e80d
3 changed files with 12 additions and 16 deletions

View File

@@ -1,5 +1,9 @@
<div>
@if ($server->isFunctional() && $server->proxyType() !== 'NONE')
@if (
$server->proxyType() !== 'NONE' &&
$server->isFunctional() &&
!$server->isSwarmWorker() &&
!$server->settings->is_build_server)
<x-slide-over closeWithX fullScreen @startproxy.window="slideOverOpen = true">
<x-slot:title>Proxy Status</x-slot:title>
<x-slot:content>