mirror of
https://github.com/optim-enterprises-bv/OptimCloud-gw-ui.git
synced 2025-10-30 01:42:19 +00:00
New icon for IOT devices
This commit is contained in:
BIN
src/assets/icons/IotIcon.png
Normal file
BIN
src/assets/icons/IotIcon.png
Normal file
Binary file not shown.
|
After Width: | Height: | Size: 2.8 KiB |
@@ -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;
|
||||
};
|
||||
|
||||
|
||||
Reference in New Issue
Block a user