diff --git a/src/components/DeviceList.js b/src/components/DeviceList.js index 8b6bfe1..6ac1334 100644 --- a/src/components/DeviceList.js +++ b/src/components/DeviceList.js @@ -13,7 +13,7 @@ import { } from '@coreui/react'; import ReactPaginate from 'react-paginate'; import Select from 'react-select'; -import { cilSync, cilInfo, cilBadge } from '@coreui/icons'; +import { cilSync, cilInfo, cilBadge, cilBan } from '@coreui/icons'; import CIcon from '@coreui/icons-react'; import { getToken } from '../utils/authHelper'; import axiosInstance from '../utils/axiosInstance'; @@ -120,7 +120,7 @@ const DeviceList = () => { const DeviceListDisplay = ({ devices, loading, updateDevicesPerPage, pageCount, updatePage }) => { const columns = [ { key: 'deviceType', label: '', filter: false, sorter: false, _style: { width: '5%' } }, - { key: 'verifiedCertificate', label: 'Certificate' }, + { key: 'verifiedCertificate', label: 'Certificate', _style: { width: '1%' } }, { key: 'serialNumber', _style: { width: '5%' } }, { key: 'UUID', label: 'Config Id', _style: { width: '5%' } }, { key: 'firmware', filter: false, _style: { width: '20%' } }, @@ -165,7 +165,12 @@ const DeviceListDisplay = ({ devices, loading, updateDevicesPerPage, pageCount, const getCertBadge = (cert) => { if(cert === 'NO_CERTIFICATE') { - return
; + return ( +Unknown
); } + console.log(color); return ( -