File tree Expand file tree Collapse file tree 1 file changed +4
-4
lines changed Expand file tree Collapse file tree 1 file changed +4
-4
lines changed Original file line number Diff line number Diff line change @@ -37,7 +37,7 @@ subscribe(APP_CONFIG_INITIALIZED, () => {
37
37
const Header = ( { intl } ) => {
38
38
const { authenticatedUser, config } = useContext ( AppContext ) ;
39
39
40
- const dashboardURL = config . DASHBOARD_URL ? config . DASHBOARD_URL : `${ config . LMS_BASE_URL } /dashboard`
40
+ const dashboardURL = config . DASHBOARD_URL ? config . DASHBOARD_URL : `${ config . LMS_BASE_URL } /dashboard` ;
41
41
const mainMenu = [
42
42
{
43
43
type : 'item' ,
@@ -93,11 +93,11 @@ const Header = ({ intl }) => {
93
93
} ,
94
94
] ;
95
95
96
- let name = null
96
+ let name = null ;
97
97
if ( authenticatedUser !== null && config . SHOW_FULLNAME === 'true' ) {
98
- name = authenticatedUser . name
98
+ name = authenticatedUser . name ;
99
99
} else if ( authenticatedUser !== null ) {
100
- name = authenticatedUser . username
100
+ name = authenticatedUser . username ;
101
101
}
102
102
103
103
const props = {
You can’t perform that action at this time.
0 commit comments