diff options
author | Anton Tananaev <anton@traccar.org> | 2022-05-22 16:02:10 -0700 |
---|---|---|
committer | Anton Tananaev <anton@traccar.org> | 2022-05-22 16:02:10 -0700 |
commit | d447490a186a473dc398a9214fd37c5180fdcf7d (patch) | |
tree | d50e59a101aef5e189d33225e8663e3d6be4cae8 /modern/src/settings | |
parent | dd18f6264b1a5eb006b4b57951176f7da9cf4fe1 (diff) | |
download | trackermap-web-d447490a186a473dc398a9214fd37c5180fdcf7d.tar.gz trackermap-web-d447490a186a473dc398a9214fd37c5180fdcf7d.tar.bz2 trackermap-web-d447490a186a473dc398a9214fd37c5180fdcf7d.zip |
Fix geofence refresh
Diffstat (limited to 'modern/src/settings')
-rw-r--r-- | modern/src/settings/components/CollectionActions.js | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/modern/src/settings/components/CollectionActions.js b/modern/src/settings/components/CollectionActions.js index 6bf9ddb1..98226269 100644 --- a/modern/src/settings/components/CollectionActions.js +++ b/modern/src/settings/components/CollectionActions.js @@ -26,7 +26,7 @@ const CollectionActions = ({ const handleRemoveResult = (removed) => { setRemoving(false); - if (removed && setTimestamp) { + if (removed) { setTimestamp(Date.now()); } }; |