From ca7759cb4f6ec03e4659fb352b669272001c8f5f Mon Sep 17 00:00:00 2001 From: Ahmed Nour Date: Thu, 15 Aug 2024 11:15:25 +0200 Subject: [PATCH] set default user to defaultUser --- .../src/ui/components/TopAppBar/TopAppBar.tsx | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/services/frontend-service/src/ui/components/TopAppBar/TopAppBar.tsx b/services/frontend-service/src/ui/components/TopAppBar/TopAppBar.tsx index 650b65e67..13777245a 100644 --- a/services/frontend-service/src/ui/components/TopAppBar/TopAppBar.tsx +++ b/services/frontend-service/src/ui/components/TopAppBar/TopAppBar.tsx @@ -48,7 +48,7 @@ export const TopAppBar: React.FC = (props) => { const teamsParam = (params.get('teams') || '').split(',').filter((val) => val !== ''); const version = useKuberpultVersion() || '2.6.0'; - let user_email = 'default'; + let user_email = 'Guest'; const cookieValue = document.cookie .split('; ') .find((row) => row.startsWith('kuberpult.oauth=')) @@ -140,7 +140,7 @@ export const TopAppBar: React.FC = (props) => { {renderedWarningsFilter} {renderedWarnings}
- Hello {user_email} + Hello, {user_email}
Planned Actions