Fix server form to dispatch 'proxyStatusUpdated' event when server is unreachable
This commit is contained in:
parent
b8f2066408
commit
c75d779f85
1 changed files with 1 additions and 1 deletions
|
|
@ -5,7 +5,7 @@
|
|||
<form wire:submit='submit'>
|
||||
<div class="flex items-center gap-2">
|
||||
<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>
|
||||
@else
|
||||
<x-forms.button disabled wire:click.prevent="change_proxy">Switch Proxy</x-forms.button>
|
||||
|
|
|
|||
Loading…
Reference in a new issue