setMessage( await VPNService.revokeClient( { revokeClientName }, fetchClients ) );
};
+ console.log(availableClients);
+
return (
<Container>
<Typography variant="h5" className="mt-6">Create OpenVPN Client</Typography>
<MaterialReactTable
columns={[
{ accessorKey: 'clientName', header: 'Name' },
- { accessorKey: 'ip', header: 'IP' },
+ { accessorKey: 'staticIp', header: 'IP' },
{ accessorKey: 'hasCertificate', header: 'Active Certificate' },
{ accessorFn: row => clients.find( c => c.name === row.clientName ), header: 'Connected' },
]}