diff --git a/src/frontend/src/components/headerComponent/index.tsx b/src/frontend/src/components/headerComponent/index.tsx index 50a0c8cf8..e1b8ce2c5 100644 --- a/src/frontend/src/components/headerComponent/index.tsx +++ b/src/frontend/src/components/headerComponent/index.tsx @@ -56,7 +56,7 @@ export default function Header(): JSX.Element { const lastFlowVisitedIndex = routeHistory .reverse() .findIndex( - (path) => path.includes("/flow/") && path !== location.pathname + (path) => path.includes("/flow/") && path !== location.pathname, ); const lastFlowVisited = routeHistory[lastFlowVisitedIndex]; @@ -200,6 +200,28 @@ export default function Header(): JSX.Element { /> + {!autoLogin && ( + <> + +
+
+ {userData?.username ?? "User"} +
+ + + + )} General