Skip to content

Commit

Permalink
Domains: Use wrong NS record for mapped domain notice in sidebar (Fixes
Browse files Browse the repository at this point in the history
  • Loading branch information
umurkontaci committed Feb 16, 2016
1 parent 749458c commit 13fef8a
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions client/my-sites/current-site/index.jsx
Original file line number Diff line number Diff line change
Expand Up @@ -116,21 +116,21 @@ module.exports = React.createClass( {
);
},

getDomainExpirationNotices: function() {
getDomainWarnings: function() {
let domainStore = this.state.domainsStore.getBySite( this.getSelectedSite().ID ),
domains = domainStore && domainStore.list || [];
return (
<DomainWarnings
selectedSite={ this.getSelectedSite() }
domains={ domains }
ruleWhiteList={ [ 'expiredDomains', 'expiringDomains' ] } />
ruleWhiteList={ [ 'expiredDomains', 'expiringDomains', 'wrongNSMappedDomains' ] } />
);
},

getSiteNotices: function( site ) {
return (
<div>
{ this.getDomainExpirationNotices() }
{ this.getDomainWarnings() }
{ this.getSiteRedirectNotice( site ) }
</div>
);
Expand Down Expand Up @@ -192,7 +192,7 @@ module.exports = React.createClass( {
? this.addNewWordPressButton()
: <span className="current-site__switch-sites">
<Button compact borderless onClick={ this.switchSites }>
<Gridicon icon="arrow-left" size={ 16 } />
<Gridicon icon="arrow-left" size={ 18 } />
{ this.translate( 'Switch Site' ) }
</Button>
</span>
Expand Down

0 comments on commit 13fef8a

Please sign in to comment.