diff --git a/spiffworkflow-frontend/src/components/NavigationBar.tsx b/spiffworkflow-frontend/src/components/NavigationBar.tsx index e482ae526..b1ed09a4c 100644 --- a/spiffworkflow-frontend/src/components/NavigationBar.tsx +++ b/spiffworkflow-frontend/src/components/NavigationBar.tsx @@ -25,6 +25,7 @@ import { useUriListForPermissions } from '../hooks/UriListForPermissions'; import { PermissionsToCheck } from '../interfaces'; import { usePermissionFetcher } from '../hooks/PermissionService'; import { UnauthenticatedError } from '../services/HttpService'; +import { SPIFF_ENVIRONMENT } from '../config'; // for ref: https://react-bootstrap.github.io/components/navbar/ export default function NavigationBar() { @@ -80,7 +81,12 @@ export default function NavigationBar() { if (UserService.isLoggedIn()) { return ( <> - + {SPIFF_ENVIRONMENT ? ( + + {SPIFF_ENVIRONMENT} + + ) : null} + {UserService.getPreferredUsername()}