We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent b8ecb49 commit 29bb18cCopy full SHA for 29bb18c
addon/components/bf-header.js
@@ -15,8 +15,8 @@ import layout from '../templates/components/bf-header';
15
export default Ember.Component.extend({
16
layout: layout,
17
appName: function() {
18
- var configTitle = this.container.lookupFactory('config:environment').APP.bonfire.title;
19
- if (Ember.isEmpty(configTitle)) {
+ var config = this.container.lookupFactory('config:environment');
+ if (Ember.isEmpty(config.APP.bonfire) || Ember.isEmpty(config.APP.bonfire.title) ) {
20
return Ember.String.capitalize(this.get('application.namespace.name'));
21
} else {
22
return configTitle;
0 commit comments