Skip to content

Commit

Permalink
onSiteSelect should noop by default.
Browse files Browse the repository at this point in the history
  • Loading branch information
mtias committed Dec 9, 2015
1 parent 3187c63 commit db79348
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion client/components/site-selector/index.jsx
Original file line number Diff line number Diff line change
Expand Up @@ -38,7 +38,8 @@ module.exports = React.createClass( {
indicator: false,
hideSelected: false,
selected: null,
onClose: noop
onClose: noop,
onSiteSelect: noop
};
},

Expand Down Expand Up @@ -127,6 +128,8 @@ module.exports = React.createClass( {
if ( siteBasePath.match( /^\/domains\/manage\// ) ) {
siteBasePath = '/domains/manage';
}

return siteBasePath;
},

isSelected: function( site ) {
Expand Down

0 comments on commit db79348

Please sign in to comment.