import * as React from 'react'; import { Dropdown } from 'react-bootstrap'; import { AuthenticationInitializer } from '../AuthenticationInitializer'; import { AuthenticationService } from '../AuthenticationService'; import { SETTINGS } from '../../config/settings'; import './userMenu.less'; export const UserMenu = () => { const authenticatedUser = AuthenticationService.getAuthenticatedUser(); const showLogOutDropdown = authenticatedUser.authenticated; if (!SETTINGS.authEnabled) { return null; } return (