diff --git a/src/components/DeviceConfiguration.js b/src/components/DeviceConfiguration.js index 943b8b6..10657bb 100644 --- a/src/components/DeviceConfiguration.js +++ b/src/components/DeviceConfiguration.js @@ -12,6 +12,7 @@ import { CCardFooter, CButton } from '@coreui/react' +import CIcon from '@coreui/icons-react' import { useSelector } from 'react-redux'; import { cleanTimestamp} from '../utils/helper'; @@ -28,7 +29,7 @@ const DeviceConfiguration = () => { return ( - Device #{device.serialNumber} Configuration + #{device.serialNumber} Details @@ -122,13 +123,9 @@ const DeviceConfiguration = () => { - - {collapse ? 'Hide details' : 'Show Details'} - + + + diff --git a/src/components/DeviceHealth.js b/src/components/DeviceHealth.js index 5b2c7c7..9a2119c 100644 --- a/src/components/DeviceHealth.js +++ b/src/components/DeviceHealth.js @@ -128,7 +128,7 @@ const DeviceHealth = () => { - + } diff --git a/src/components/DeviceList.js b/src/components/DeviceList.js index 5446507..2826fb9 100644 --- a/src/components/DeviceList.js +++ b/src/components/DeviceList.js @@ -119,14 +119,14 @@ const DeviceList = () => { return ( ); } @@ -277,7 +277,7 @@ const DeviceListDisplay = ({ devices, toggleDetails, details, loading, updateDev (item)=>( - + ), @@ -295,7 +295,6 @@ const DeviceListDisplay = ({ devices, toggleDetails, details, loading, updateDev variant="outline" shape="square" size="sm" - onClick={()=>{toggleDetails(index)}} >