diff options
Diffstat (limited to 'src/web/js/components/Menu.react.js')
-rw-r--r-- | src/web/js/components/Menu.react.js | 9 |
1 files changed, 6 insertions, 3 deletions
diff --git a/src/web/js/components/Menu.react.js b/src/web/js/components/Menu.react.js index d0bd719d..0d739e4e 100644 --- a/src/web/js/components/Menu.react.js +++ b/src/web/js/components/Menu.react.js @@ -201,6 +201,9 @@ var Menu = React.createClass({ var feeds = []; var unread = 0; this.state.categories[cat_id].feeds.map(function(feed_id) { + if(this.state.feeds[feed_id].error_count > 3) { + feed_in_error = true; + } unread += this.state.feeds[feed_id].unread; feeds.push(this.state.feeds[feed_id]); }.bind(this)); @@ -213,10 +216,10 @@ var Menu = React.createClass({ unread={unread} />); } - return (<Col xsHidden smHidden md={3} lg={2} data-spy="affix" - id="menu" className="show-grid sidebar"> + return (<Col xsHidden smHidden md={3} lg={2} + id="menu" className="sidebar"> <MenuFilter filter={this.state.filter} - feed_in_error={this.state.feed_in_error} /> + feed_in_error={feed_in_error} /> {rmPrntFilt} {categories} </Col> |