diff options
author | Anton Tananaev <anton@traccar.org> | 2022-05-26 07:20:45 -0700 |
---|---|---|
committer | Anton Tananaev <anton@traccar.org> | 2022-05-26 07:20:45 -0700 |
commit | e01380561a113f868538e9a3399fc2406e250368 (patch) | |
tree | d4af0a05c8830cf15ee8466a9d1e61002bc21d23 /modern/src/common | |
parent | 73c1e0795ea6b27a89b4c9065717dfd9ca879bab (diff) | |
download | trackermap-web-e01380561a113f868538e9a3399fc2406e250368.tar.gz trackermap-web-e01380561a113f868538e9a3399fc2406e250368.tar.bz2 trackermap-web-e01380561a113f868538e9a3399fc2406e250368.zip |
Support report line color
Diffstat (limited to 'modern/src/common')
-rw-r--r-- | modern/src/common/attributes/useDeviceAttributes.js | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/modern/src/common/attributes/useDeviceAttributes.js b/modern/src/common/attributes/useDeviceAttributes.js index 34ddb64c..f272904a 100644 --- a/modern/src/common/attributes/useDeviceAttributes.js +++ b/modern/src/common/attributes/useDeviceAttributes.js @@ -1,6 +1,11 @@ import { useMemo } from 'react'; export default (t) => useMemo(() => ({ + 'web.reportColor': { + name: t('attributeWebReportColor'), + type: 'string', + subtype: 'color', + }, devicePassword: { name: t('attributeDevicePassword'), type: 'string', |