Skip to content

Commit

Permalink
Notices: Render NoticesList when the list of notices is empty
Browse files Browse the repository at this point in the history
Otherwise, `<DeleteSiteNotices />` isn't rendered.
  • Loading branch information
drewblaisdell committed Dec 3, 2015
1 parent b67f9bc commit 3523741
Showing 1 changed file with 0 additions and 3 deletions.
3 changes: 0 additions & 3 deletions client/notices/notices-list.jsx
Original file line number Diff line number Diff line change
Expand Up @@ -91,9 +91,6 @@ export default React.createClass( {
);
}, this );

if ( ! noticesRaw.length ) {
return null;
}
return (
<div>
<div id={ this.props.id } className={ classNames( 'notices-list', { 'is-pinned': this.state.pinned } ) }>
Expand Down

0 comments on commit 3523741

Please sign in to comment.