From 449541f6b8b851de2bb957a2c793626459c59626 Mon Sep 17 00:00:00 2001 From: Flatlogic Bot Date: Wed, 10 Jun 2026 09:28:06 +0000 Subject: [PATCH] Simplify coach sidebar navigation --- frontend/src/layouts/Authenticated.tsx | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/frontend/src/layouts/Authenticated.tsx b/frontend/src/layouts/Authenticated.tsx index 8a4bbeb..f102e5b 100644 --- a/frontend/src/layouts/Authenticated.tsx +++ b/frontend/src/layouts/Authenticated.tsx @@ -148,6 +148,10 @@ export default function LayoutAuthenticated({ children, permission }: Props) { return item.href === '/client-portal' || item.href === '/profile'; } + if (item.href === '/client-portal' || item.href === '/users/users-list') { + return false; + } + if (!item.permission) { return true; }