aboutsummaryrefslogtreecommitdiff
path: root/modern/src/common/components
diff options
context:
space:
mode:
authorAnton Tananaev <anton@traccar.org>2023-11-26 17:08:05 -0800
committerAnton Tananaev <anton@traccar.org>2023-11-26 17:08:05 -0800
commite9524aa3968c44627bfc559898f11b88a5e76ef4 (patch)
treef274342b19aff02fb46a02b9f422fc227936d9f0 /modern/src/common/components
parent828e13ae5d8ed330a28199cd18db6664f091605d (diff)
downloadtrackermap-web-e9524aa3968c44627bfc559898f11b88a5e76ef4.tar.gz
trackermap-web-e9524aa3968c44627bfc559898f11b88a5e76ef4.tar.bz2
trackermap-web-e9524aa3968c44627bfc559898f11b88a5e76ef4.zip
Default geofence name (fix #1102)
Diffstat (limited to 'modern/src/common/components')
-rw-r--r--modern/src/common/components/StatusCard.jsx2
1 files changed, 1 insertions, 1 deletions
diff --git a/modern/src/common/components/StatusCard.jsx b/modern/src/common/components/StatusCard.jsx
index fcd62a41..b4660d61 100644
--- a/modern/src/common/components/StatusCard.jsx
+++ b/modern/src/common/components/StatusCard.jsx
@@ -149,7 +149,7 @@ const StatusCard = ({ deviceId, position, onClose, disableActions, desktopPaddin
const handleGeofence = useCatchCallback(async () => {
const newItem = {
- name: '',
+ name: t('sharedGeofence'),
area: `CIRCLE (${position.latitude} ${position.longitude}, 50)`,
};
const response = await fetch('/api/geofences', {