diff options
Diffstat (limited to 'modern/src/map/MapPositions.js')
-rw-r--r-- | modern/src/map/MapPositions.js | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/modern/src/map/MapPositions.js b/modern/src/map/MapPositions.js index 070ec0c8..89a48df1 100644 --- a/modern/src/map/MapPositions.js +++ b/modern/src/map/MapPositions.js @@ -20,7 +20,7 @@ const MapPositions = ({ positions, onClick, showStatus }) => { deviceId: position.deviceId, name: device.name, category: device.category || 'default', - color: showStatus ? getStatusColor(device.status) : 'neutral', + color: showStatus ? position.attributes.color || getStatusColor(device.status) : 'neutral', }; }; |