Cleaned device list columns

This commit is contained in:
bourquecharles
2021-05-02 13:03:41 -04:00
parent a3a5aa11cc
commit 7884672e67

View File

@@ -113,11 +113,7 @@ const DeviceListDisplay = ({ devices, refresh, toggleDetails, details, loading,
,filter: false
,label: 'Configuration Change'
},
{
key: 'lastConfigurationDownload'
,filter: false
,label: 'Configuration Download'
},
{ key: 'firmware', filter: false },
{ key: 'deviceType'},
{ key: 'connected'},
{ key: 'txBytes', filter: false },
@@ -158,6 +154,7 @@ const DeviceListDisplay = ({ devices, refresh, toggleDetails, details, loading,
columnFilter
itemsPerPageSelect
itemsPerPage={10}
border
hover
sorter
pagination
@@ -187,12 +184,6 @@ const DeviceListDisplay = ({ devices, refresh, toggleDetails, details, loading,
{item.ipAddress ?? 'N/A'}
</td>
),
'lastConfigurationDownload':
(item)=>(
<td>
{cleanTimestamp(item.lastConfigurationDownload)}
</td>
),
'connected':
(item)=>(
<td>