diff --git a/package-lock.json b/package-lock.json index 8658681..f54d16d 100644 --- a/package-lock.json +++ b/package-lock.json @@ -1,12 +1,12 @@ { "name": "ucentral-client", - "version": "3.1.0(4)", + "version": "3.1.0(5)", "lockfileVersion": 3, "requires": true, "packages": { "": { "name": "ucentral-client", - "version": "3.1.0(4)", + "version": "3.1.0(5)", "license": "ISC", "dependencies": { "@chakra-ui/anatomy": "^2.1.1", diff --git a/package.json b/package.json index 666751e..9783287 100644 --- a/package.json +++ b/package.json @@ -1,6 +1,6 @@ { "name": "ucentral-client", - "version": "3.1.0(4)", + "version": "3.1.0(5)", "description": "", "private": true, "main": "index.tsx", diff --git a/public/devices/asterfusion_CX204Y-24GT-M-SWP4.png b/public/devices/asterfusion_CX204Y-24GT-M-SWP4.png new file mode 100644 index 0000000..09c1e1e Binary files /dev/null and b/public/devices/asterfusion_CX204Y-24GT-M-SWP4.png differ diff --git a/public/devices/asterfusion_CX204Y-48GT-M-SWP4.png b/public/devices/asterfusion_CX204Y-48GT-M-SWP4.png new file mode 100644 index 0000000..976f7c0 Binary files /dev/null and b/public/devices/asterfusion_CX204Y-48GT-M-SWP4.png differ diff --git a/src/pages/Device/Summary.tsx b/src/pages/Device/Summary.tsx index ebff10b..d4671d9 100644 --- a/src/pages/Device/Summary.tsx +++ b/src/pages/Device/Summary.tsx @@ -65,6 +65,8 @@ const DeviceSummary = ({ serialNumber }: Props) => { const getDeviceCompatible = () => { if (!getDevice.data?.compatible) return undefined; + if (getDevice.data.compatible.includes(' ')) return getDevice.data.compatible.replaceAll(' ', '_'); + return getDevice.data?.compatible; };