From eb58f93fd529040a6726b5a8670f5a0dd1fccc28 Mon Sep 17 00:00:00 2001 From: charleswrayjr Date: Tue, 9 Sep 2025 09:04:48 -0500 Subject: [PATCH] Adding available clients section to VPN page. --- src/app/views/VPN/VPN.jsx | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) 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} -- 2.43.0