diff options
author | Anton Tananaev <anton@traccar.org> | 2022-10-16 16:50:37 -0700 |
---|---|---|
committer | Anton Tananaev <anton@traccar.org> | 2022-10-16 16:50:37 -0700 |
commit | 16600db340dbdaa7f4b941e8e1bd6c6282d6a557 (patch) | |
tree | c09a285e3ff33dd16ae5b22380161c4763619d10 /modern/src/main/MainPage.js | |
parent | ac8adb34066745322297ae5a63feb00724d503a6 (diff) | |
download | trackermap-web-16600db340dbdaa7f4b941e8e1bd6c6282d6a557.tar.gz trackermap-web-16600db340dbdaa7f4b941e8e1bd6c6282d6a557.tar.bz2 trackermap-web-16600db340dbdaa7f4b941e8e1bd6c6282d6a557.zip |
Move status card
Diffstat (limited to 'modern/src/main/MainPage.js')
-rw-r--r-- | modern/src/main/MainPage.js | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/modern/src/main/MainPage.js b/modern/src/main/MainPage.js index 90e1b920..a174096e 100644 --- a/modern/src/main/MainPage.js +++ b/modern/src/main/MainPage.js @@ -25,7 +25,7 @@ import BottomMenu from '../common/components/BottomMenu'; import { useTranslation } from '../common/components/LocalizationProvider'; import PoiMap from '../map/main/PoiMap'; import MapPadding from '../map/MapPadding'; -import StatusCard from './StatusCard'; +import StatusCard from '../common/components/StatusCard'; import { devicesActions } from '../store'; import MapDefaultCamera from '../map/main/MapDefaultCamera'; import usePersistedState from '../common/util/usePersistedState'; @@ -370,6 +370,7 @@ const MainPage = () => { <div className={classes.statusCard}> <StatusCard deviceId={selectedDeviceId} + position={positions[selectedDeviceId]} onClose={() => dispatch(devicesActions.select(null))} /> </div> |