diff options
author | Anton Tananaev <anton@traccar.org> | 2022-05-24 08:26:29 -0700 |
---|---|---|
committer | Anton Tananaev <anton@traccar.org> | 2022-05-24 08:26:29 -0700 |
commit | 568530fe2dd1413739a73eb0a576a90e764f14a6 (patch) | |
tree | b8d92b9c8ba5e3dda149d4cf88a0eff1143e229b /modern/src | |
parent | 5e039612130c3c567fb50da9ce5f2e955787ac6e (diff) | |
download | trackermap-web-568530fe2dd1413739a73eb0a576a90e764f14a6.tar.gz trackermap-web-568530fe2dd1413739a73eb0a576a90e764f14a6.tar.bz2 trackermap-web-568530fe2dd1413739a73eb0a576a90e764f14a6.zip |
Fix style issue
Diffstat (limited to 'modern/src')
-rw-r--r-- | modern/src/main/DevicesList.js | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/modern/src/main/DevicesList.js b/modern/src/main/DevicesList.js index 057ae28d..022da390 100644 --- a/modern/src/main/DevicesList.js +++ b/modern/src/main/DevicesList.js @@ -77,9 +77,8 @@ const DeviceRow = ({ data, index, style }) => { const secondaryText = () => { if (item.status === 'online' || !item.lastUpdate) { return formatStatus(item.status, t); - } else { - return moment(item.lastUpdate).fromNow(); } + return moment(item.lastUpdate).fromNow(); }; return ( |