aboutsummaryrefslogtreecommitdiff
path: root/modern/src/common/attributes
diff options
context:
space:
mode:
authorAnton Tananaev <anton@traccar.org>2023-05-14 07:14:50 -0700
committerAnton Tananaev <anton@traccar.org>2023-05-14 07:14:50 -0700
commit60c663cc1df0543d12443ec3aa76b8e65dff6744 (patch)
tree218bd9b165889e2fd8d3e88e585d698fed775dfb /modern/src/common/attributes
parentf421878a61ad86c0490bf8e10863d25fbefea93d (diff)
downloadtrackermap-web-60c663cc1df0543d12443ec3aa76b8e65dff6744.tar.gz
trackermap-web-60c663cc1df0543d12443ec3aa76b8e65dff6744.tar.bz2
trackermap-web-60c663cc1df0543d12443ec3aa76b8e65dff6744.zip
Standard heart rate attribute
Diffstat (limited to 'modern/src/common/attributes')
-rw-r--r--modern/src/common/attributes/usePositionAttributes.js4
1 files changed, 4 insertions, 0 deletions
diff --git a/modern/src/common/attributes/usePositionAttributes.js b/modern/src/common/attributes/usePositionAttributes.js
index 90905395..cc50911c 100644
--- a/modern/src/common/attributes/usePositionAttributes.js
+++ b/modern/src/common/attributes/usePositionAttributes.js
@@ -148,6 +148,10 @@ export default (t) => useMemo(() => ({
name: t('positionSteps'),
type: 'number',
},
+ heartRate: {
+ name: t('positionHeartRate'),
+ type: 'number',
+ },
input: {
name: t('positionInput'),
type: 'number',