File tree Expand file tree Collapse file tree 2 files changed +27
-0
lines changed
src/ui/layouts/common/layouts/AuthenticatedLayout Expand file tree Collapse file tree 2 files changed +27
-0
lines changed Original file line number Diff line number Diff line change @@ -18,6 +18,8 @@ import OutsideClickHandler from 'react-outside-click-handler';
1818import { useDispatch , usePushRoute , useSelector } from '../../../../hooks' ;
1919import { sessionActions } from '../../../../../redux/actions' ;
2020import { routePaths } from '../../../../../routes/routePaths' ;
21+ import cn from 'classnames' ;
22+ import css from './../../../../../ui/components/inputs/index.module.scss' ;
2123
2224export const AuthenticatedHeader : React . FC < {
2325 setMobileMenuOpen : ( val : boolean ) => void ;
@@ -49,6 +51,30 @@ export const AuthenticatedHeader: React.FC<{
4951 < icons . burger size = { iconSizes . md } />
5052 </ LinkBox >
5153 </ Box >
54+ < Box marginLeft = "xxl" className = "d-none d-md-block" >
55+ < select
56+ // onChange={(e: any) => handleChange(e.target.value)}
57+ value = { [ 'default' ] }
58+ placeholder = { 'Roles' }
59+ className = { cn ( css . input ) }
60+ style = { {
61+ // borderTopRightRadius: 0,
62+ // borderBottomRightRadius: 0,
63+ width : '146px' ,
64+ fontSize : '12px' ,
65+ color : '#424240' ,
66+ } }
67+ >
68+ < option selected disabled value = "" >
69+ { 'Roles' }
70+ </ option >
71+ { [ 'default' ] . map ( ( option , index ) => (
72+ < option key = { index } value = { option } >
73+ { option . toUpperCase ( ) }
74+ </ option >
75+ ) ) }
76+ </ select >
77+ </ Box >
5278 </ FlexBox >
5379 < If condition = { ! ! userFullName } >
5480 { ( ) => (
Original file line number Diff line number Diff line change @@ -19,6 +19,7 @@ export const AuthenticatedLayout: React.FC = ({ children }) => {
1919 setMobileMenuOpen = { setMobileMenuOpen }
2020 mobileMenuOpen = { mobileMenuOpen }
2121 />
22+
2223 < FlexBox flexDirection = "column" className = { styles . content } flex = { 1 } >
2324 < Box >
2425 < AuthenticatedHeader setMobileMenuOpen = { setMobileMenuOpen } />
You can’t perform that action at this time.
0 commit comments