aboutsummaryrefslogtreecommitdiff
path: root/modern/src/other/GeofencesPage.jsx
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/other/GeofencesPage.jsx
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/other/GeofencesPage.jsx')
-rw-r--r--modern/src/other/GeofencesPage.jsx2
1 files changed, 1 insertions, 1 deletions
diff --git a/modern/src/other/GeofencesPage.jsx b/modern/src/other/GeofencesPage.jsx
index 4f31c1b3..a27a6dca 100644
--- a/modern/src/other/GeofencesPage.jsx
+++ b/modern/src/other/GeofencesPage.jsx
@@ -78,7 +78,7 @@ const GeofencesPage = () => {
.map((point) => `${point.getAttribute('lat')} ${point.getAttribute('lon')}`)
.join(', ');
const area = `LINESTRING (${coordinates})`;
- const newItem = { name: '', area };
+ const newItem = { name: t('sharedGeofence'), area };
try {
const response = await fetch('/api/geofences', {
method: 'POST',