diff --git a/js/components/header.js b/js/components/header.js index dd8a70e6..7080fa38 100644 --- a/js/components/header.js +++ b/js/components/header.js @@ -64,25 +64,18 @@ let Header = React.createClass({ WhitelabelStore.unlisten(this.onChange); }, getLogo(){ - let logoPath = null; - if (this.state.whitelabel && this.state.whitelabel.logo) { - if (this.state.whitelabel.name === 'IkonoTV') { - logoPath = 'https://s3-us-west-2.amazonaws.com/ascribe0/whitelabel/ikonotv/favicon.ico'; - } - else { - logoPath = this.state.whitelabel.logo; - } - let logo = ; - setFavicon(logoPath); - console.log('should change browser icon'); - console.log(logoPath); - return logo; + let logoPath = this.state.whitelabel.logo; + setFavicon(logoPath); + if (this.state.whitelabel.subdomain !== 'www'){ + return ; } - return ( - + else { + return ( + ascribe ); + } }, getPoweredBy(){