diff options
author | Anton Tananaev <anton@traccar.org> | 2023-11-26 17:08:05 -0800 |
---|---|---|
committer | Anton Tananaev <anton@traccar.org> | 2023-11-26 17:08:05 -0800 |
commit | e9524aa3968c44627bfc559898f11b88a5e76ef4 (patch) | |
tree | f274342b19aff02fb46a02b9f422fc227936d9f0 /modern/src/other/GeofencesPage.jsx | |
parent | 828e13ae5d8ed330a28199cd18db6664f091605d (diff) | |
download | trackermap-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.jsx | 2 |
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', |