@@ -10,8 +10,8 @@ import * as feedsActions from '../actions/feeds'
10
10
import * as userActions from '../actions/user'
11
11
import * as visibilityFilterActions from '../actions/visibilityFilter'
12
12
import ManagerPage from '../../common/components/ManagerPage'
13
- import { AUTH0_DISABLED , DEFAULT_DESCRIPTION , DEFAULT_TITLE } from '../../common/constants'
14
- import { getConfigProperty , getComponentMessages } from '../../common/util/config'
13
+ import { AUTH0_DISABLED , DEFAULT_DESCRIPTION } from '../../common/constants'
14
+ import { getConfigProperty , getComponentMessages , getAppName } from '../../common/util/config'
15
15
import { defaultSorter } from '../../common/util/util'
16
16
import type { Props as ContainerProps } from '../containers/ActiveUserHomePage'
17
17
import type { Project } from '../../types'
@@ -85,7 +85,7 @@ export default class UserHomePage extends Component<Props, State> {
85
85
} = this . props
86
86
const visibleProjects = projects . sort ( defaultSorter )
87
87
const activeProject = project
88
- const appTitle = getConfigProperty ( 'application.title' ) || 'datatools'
88
+ const appTitle = getAppName ( )
89
89
return (
90
90
< ManagerPage
91
91
ref = 'page'
@@ -97,7 +97,7 @@ export default class UserHomePage extends Component<Props, State> {
97
97
< Col md = { 8 } xs = { 12 } >
98
98
{ /* Top Welcome Box */ }
99
99
< Jumbotron style = { { padding : 30 } } >
100
- < h2 > { this . messages ( 'welcomeTo' ) } { appTitle || DEFAULT_TITLE } !</ h2 >
100
+ < h2 > { this . messages ( 'welcomeTo' ) } { appTitle } !</ h2 >
101
101
< p > { getConfigProperty ( 'application.description' ) || DEFAULT_DESCRIPTION } </ p >
102
102
< ButtonToolbar >
103
103
< Button
0 commit comments