From e9524aa3968c44627bfc559898f11b88a5e76ef4 Mon Sep 17 00:00:00 2001 From: Anton Tananaev Date: Sun, 26 Nov 2023 17:08:05 -0800 Subject: Default geofence name (fix #1102) --- modern/src/common/components/StatusCard.jsx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'modern/src/common/components') 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', { -- cgit v1.2.3