From: charleswrayjr Date: Tue, 9 Sep 2025 14:04:48 +0000 (-0500) Subject: Adding available clients section to VPN page. X-Git-Url: https://git.phasecustomsoft.com/static/gitweb.js?a=commitdiff_plain;h=eb58f93fd529040a6726b5a8670f5a0dd1fccc28;p=phs-admin.git Adding available clients section to VPN page. --- diff --git a/src/app/views/VPN/VPN.jsx b/src/app/views/VPN/VPN.jsx index 6052d8a..95f1967 100644 --- a/src/app/views/VPN/VPN.jsx +++ b/src/app/views/VPN/VPN.jsx @@ -99,7 +99,10 @@ const VPN = () => { columns={[ { accessorKey: 'clientName', header: 'Name' }, { accessorKey: 'staticIp', header: 'IP' }, - { accessorKey: 'hasCertificate', header: 'Active Certificate' }, + { accessorFn: row => { + console.log(row.hasCertificate); + return row.hasCertificate ? 'Yes' : 'No'; + }, header: 'Active Certificate' }, { accessorFn: row => clients.find( c => c.name === row.clientName ), header: 'Connected' }, ]} data={availableClients}