aboutsummaryrefslogtreecommitdiff
path: root/modern/src/common/components/BottomMenu.js
diff options
context:
space:
mode:
Diffstat (limited to 'modern/src/common/components/BottomMenu.js')
-rw-r--r--modern/src/common/components/BottomMenu.js2
1 files changed, 1 insertions, 1 deletions
diff --git a/modern/src/common/components/BottomMenu.js b/modern/src/common/components/BottomMenu.js
index 048cb0d7..30960396 100644
--- a/modern/src/common/components/BottomMenu.js
+++ b/modern/src/common/components/BottomMenu.js
@@ -27,7 +27,7 @@ const BottomMenu = () => {
const [anchorEl, setAnchorEl] = useState(null);
const currentSelection = () => {
- if (location.pathname.startsWith('/settings/user')) {
+ if (location.pathname === `/settings/user/${userId}`) {
return 3;
} if (location.pathname.startsWith('/settings')) {
return 2;