Skip to content

Commit

Permalink
set default user to defaultUser
Browse files Browse the repository at this point in the history
  • Loading branch information
ahmed-nour-fdc committed Aug 15, 2024
1 parent 8fe3970 commit ca7759c
Showing 1 changed file with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -48,7 +48,7 @@ export const TopAppBar: React.FC<TopAppBarProps> = (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='))
Expand Down Expand Up @@ -140,7 +140,7 @@ export const TopAppBar: React.FC<TopAppBarProps> = (props) => {
{renderedWarningsFilter}
{renderedWarnings}
<div className="mdc-top-app-bar__section mdc-top-app-bar__section--align-end">
<strong className="sub-headline1">Hello {user_email}</strong>
<strong className="sub-headline1">Hello, {user_email}</strong>
</div>
<div className="mdc-top-app-bar__section mdc-top-app-bar__section--align-end">
<strong className="sub-headline1">Planned Actions</strong>
Expand Down

0 comments on commit ca7759c

Please sign in to comment.