aboutsummaryrefslogtreecommitdiff
path: root/modern/src/main/MainPage.js
diff options
context:
space:
mode:
authorAnton Tananaev <anton@traccar.org>2022-05-08 14:52:01 -0700
committerAnton Tananaev <anton@traccar.org>2022-05-08 14:52:01 -0700
commit176ef4d766fa4bbe230849190b8695380ad10822 (patch)
treebb083a7bd7c3cefb5c09f4ef60593756f1b34cdd /modern/src/main/MainPage.js
parent4d17b6baf8f3745478eb105c6ee196ebf4ceb7c7 (diff)
downloadtrackermap-web-176ef4d766fa4bbe230849190b8695380ad10822.tar.gz
trackermap-web-176ef4d766fa4bbe230849190b8695380ad10822.tar.bz2
trackermap-web-176ef4d766fa4bbe230849190b8695380ad10822.zip
Organize router
Diffstat (limited to 'modern/src/main/MainPage.js')
-rw-r--r--modern/src/main/MainPage.js2
1 files changed, 1 insertions, 1 deletions
diff --git a/modern/src/main/MainPage.js b/modern/src/main/MainPage.js
index 569978af..2f3ed3dc 100644
--- a/modern/src/main/MainPage.js
+++ b/modern/src/main/MainPage.js
@@ -179,7 +179,7 @@ const MainPage = () => {
placeholder={t('sharedSearchDevices')}
variant="filled"
/>
- <IconButton onClick={() => history.push('/device')} disabled={deviceReadonly}>
+ <IconButton onClick={() => history.push('/settings/device')} disabled={deviceReadonly}>
<AddIcon />
</IconButton>
{!isTablet && (