Skip to content

The Open Source DocuSign Alternative.

fix settings active bug

Ephraim Atta-Duncan6f31dacd7469
diff --git a/apps/web/components/navigation.tsx b/apps/web/components/navigation.tsx
index b4e52cd70..1155875f9 100644
--- a/apps/web/components/navigation.tsx
+++ b/apps/web/components/navigation.tsx
@@ -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 (