mirror of
https://github.com/optim-enterprises-bv/OptimCloud-gw-ui.git
synced 2025-11-01 18:57:46 +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 meshIcon from '../../assets/icons/Mesh.png';
|
||||||
import apIcon from '../../assets/icons/AP.png';
|
import apIcon from '../../assets/icons/AP.png';
|
||||||
import internetSwitch from '../../assets/icons/Switch.png';
|
import internetSwitch from '../../assets/icons/Switch.png';
|
||||||
|
import iotIcon from '../../assets/icons/IotIcon.png';
|
||||||
|
|
||||||
const DeviceList = () => {
|
const DeviceList = () => {
|
||||||
const [loadedSerials, setLoadedSerials] = useState(false);
|
const [loadedSerials, setLoadedSerials] = useState(false);
|
||||||
@@ -195,6 +196,9 @@ const DeviceListDisplay = ({
|
|||||||
if (deviceType === 'SWITCH') {
|
if (deviceType === 'SWITCH') {
|
||||||
return <img src={internetSwitch} style={{ height: '32px', width: '32px' }} alt="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;
|
return null;
|
||||||
};
|
};
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user