]> PHS Git Server - phs-admin.git/commitdiff
Adding available clients section to VPN page.
authorcharleswrayjr <charleswrayjr@gmail.com>
Tue, 9 Sep 2025 14:05:51 +0000 (09:05 -0500)
committercharleswrayjr <charleswrayjr@gmail.com>
Tue, 9 Sep 2025 14:05:51 +0000 (09:05 -0500)
src/app/views/VPN/VPN.jsx

index 95f1967778394d35044e1d8793aa203a85f57076..20161f71774286e2853a4a20102e4624299876b1 100644 (file)
@@ -103,7 +103,7 @@ const VPN = () => {
             console.log(row.hasCertificate);
               return row.hasCertificate ? 'Yes' : 'No';
             }, header: 'Active Certificate' },
-          { accessorFn: row => clients.find( c => c.name === row.clientName ), header: 'Connected' },
+          { accessorFn: row => clients.find( c => c.name === row.clientName ) ? 'Yes' : 'No', header: 'Connected' },
         ]}
         data={availableClients}
       />