mirror of
https://github.com/documenso/documenso.git
synced 2025-11-13 00:03:33 +10:00
fix settings active bug
This commit is contained in:
@ -100,7 +100,9 @@ export default function TopNavigation() {
|
||||
}, [session]);
|
||||
|
||||
navigation.forEach((element) => {
|
||||
element.current = router.route.endsWith("/" + element.href.split("/")[1]);
|
||||
element.current =
|
||||
router.route.endsWith("/" + element.href.split("/")[1]) ||
|
||||
router.route.includes(element.href.split("/")[1]);
|
||||
});
|
||||
|
||||
return (
|
||||
|
||||
Reference in New Issue
Block a user