From: charleswrayjr Date: Tue, 9 Sep 2025 19:15:34 +0000 (-0500) Subject: Adding a server status dialog. X-Git-Url: https://git.phasecustomsoft.com/?a=commitdiff_plain;h=0fcb9d054342de9ed091aec158878abaa908f3be;p=phs-admin.git Adding a server status dialog. --- diff --git a/src/app/components/VPN/VPNContext.jsx b/src/app/components/VPN/VPNContext.jsx index 6cad695..5c42117 100644 --- a/src/app/components/VPN/VPNContext.jsx +++ b/src/app/components/VPN/VPNContext.jsx @@ -18,7 +18,7 @@ export const VPNProvider = ( { children } ) => { const fetchServerStatus = async () => { await VPNService.getServerStatus() - .then( res => setServerStatus( res ) ) + .then( res => setServerStatus( res.active ) ) .catch( err => setMessage( err ) ); };