From 15c4ed6bebdeb277c24bd92dab5bba900fc90de4 Mon Sep 17 00:00:00 2001 From: François Schmidts Date: Mon, 25 Jan 2016 13:14:06 +0100 Subject: redoing constant, handling read / unread in menu, removing bad optim for loading articles --- src/web/js/components/MiddlePanel.react.js | 10 +++++++--- src/web/js/components/RightPanel.react.js | 1 - 2 files changed, 7 insertions(+), 4 deletions(-) (limited to 'src/web/js/components') diff --git a/src/web/js/components/MiddlePanel.react.js b/src/web/js/components/MiddlePanel.react.js index 49365a6a..741af5e9 100644 --- a/src/web/js/components/MiddlePanel.react.js +++ b/src/web/js/components/MiddlePanel.react.js @@ -29,7 +29,7 @@ var TableLine = React.createClass({ } else { icon = ; } - var title = ( + var title = ( {icon} {this.props.feed_title} ); var read = ();})} diff --git a/src/web/js/components/RightPanel.react.js b/src/web/js/components/RightPanel.react.js index 422b8e5b..d195dc08 100644 --- a/src/web/js/components/RightPanel.react.js +++ b/src/web/js/components/RightPanel.react.js @@ -58,7 +58,6 @@ var RightPanel = React.createClass({ return
; }, componentDidMount: function() { - RightPanelActions.reload(); RightPanelStore.addChangeListener(this._onChange); }, componentWillUnmount: function() { -- cgit