diff options
author | Anton Tananaev <anton@traccar.org> | 2022-05-01 15:26:08 -0700 |
---|---|---|
committer | Anton Tananaev <anton@traccar.org> | 2022-05-01 15:26:08 -0700 |
commit | af6b60f85ba09a9d1a258cf9d1b6b61d4b8e4fe5 (patch) | |
tree | 6fe30c87a48ad5a438554f8cb594028b49efcfef /modern/src/App.js | |
parent | 90f292b7739835202842d88eeaf55a531d29d3c3 (diff) | |
download | trackermap-web-af6b60f85ba09a9d1a258cf9d1b6b61d4b8e4fe5.tar.gz trackermap-web-af6b60f85ba09a9d1a258cf9d1b6b61d4b8e4fe5.tar.bz2 trackermap-web-af6b60f85ba09a9d1a258cf9d1b6b61d4b8e4fe5.zip |
Migrate to a card for popup
Diffstat (limited to 'modern/src/App.js')
-rw-r--r-- | modern/src/App.js | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/modern/src/App.js b/modern/src/App.js index 1d7b2cae..e12a2e78 100644 --- a/modern/src/App.js +++ b/modern/src/App.js @@ -68,7 +68,7 @@ const App = () => { if (response.ok) { const items = await response.json(); if (items.length > 0) { - dispatch(devicesActions.select(items[0])); + dispatch(devicesActions.select(items[0].id)); } } history.push('/'); |