New icon for IOT devices

This commit is contained in:
bourquecharles
2021-05-24 10:17:29 -04:00
parent 01269d346a
commit 6d1ca9301e
2 changed files with 4 additions and 0 deletions

Binary file not shown.

After

Width:  |  Height:  |  Size: 2.8 KiB

View File

@@ -22,6 +22,7 @@ import { cleanBytesString, cropStringWithEllipsis } from '../../utils/helper';
import meshIcon from '../../assets/icons/Mesh.png';
import apIcon from '../../assets/icons/AP.png';
import internetSwitch from '../../assets/icons/Switch.png';
import iotIcon from '../../assets/icons/IotIcon.png';
const DeviceList = () => {
const [loadedSerials, setLoadedSerials] = useState(false);
@@ -195,6 +196,9 @@ const DeviceListDisplay = ({
if (deviceType === 'SWITCH') {
return <img src={internetSwitch} style={{ height: '32px', width: '32px' }} alt="SWITCH" />;
}
if (deviceType === 'IOT') {
return <img src={iotIcon} style={{ height: '32px', width: '32px' }} alt="SWITCH" />;
}
return null;
};