Fix server form to dispatch 'proxyStatusUpdated' event when server is unreachable
This commit is contained in:
parent
b8f2066408
commit
c75d779f85
@ -5,7 +5,7 @@
|
|||||||
<form wire:submit='submit'>
|
<form wire:submit='submit'>
|
||||||
<div class="flex items-center gap-2">
|
<div class="flex items-center gap-2">
|
||||||
<h2>Configuration</h2>
|
<h2>Configuration</h2>
|
||||||
@if ($server->proxy->status === 'exited')
|
@if ($server->proxy->status === 'exited' || $server->proxy->status === 'removing')
|
||||||
<x-forms.button wire:click.prevent="change_proxy">Switch Proxy</x-forms.button>
|
<x-forms.button wire:click.prevent="change_proxy">Switch Proxy</x-forms.button>
|
||||||
@else
|
@else
|
||||||
<x-forms.button disabled wire:click.prevent="change_proxy">Switch Proxy</x-forms.button>
|
<x-forms.button disabled wire:click.prevent="change_proxy">Switch Proxy</x-forms.button>
|
||||||
|
Loading…
Reference in New Issue
Block a user