From c69767c10b5fd5a454ea9e2937761311fe7aba65 Mon Sep 17 00:00:00 2001 From: Cevo Date: Mon, 5 Oct 2015 17:21:51 +0200 Subject: [PATCH] real logo of ikono added , backend settings changed we get everything from whitelabel logo --- js/components/header.js | 23 ++++++++--------------- 1 file changed, 8 insertions(+), 15 deletions(-) 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(){