aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--src/web/js/components/Menu.react.js4
-rw-r--r--src/web/js/stores/MenuStore.js2
2 files changed, 3 insertions, 3 deletions
diff --git a/src/web/js/components/Menu.react.js b/src/web/js/components/Menu.react.js
index d4752a94..6fa4071d 100644
--- a/src/web/js/components/Menu.react.js
+++ b/src/web/js/components/Menu.react.js
@@ -128,7 +128,7 @@ var CategoryGroup = React.createClass({
if(this.props.unread) {
unread = <Badge pullRight>{this.props.unread}</Badge>;
}
- var ctrl = (<Glyphicon onClick={this.toggleFolding} pullLeft
+ var ctrl = (<Glyphicon onClick={this.toggleFolding}
glyph={this.state.folded?"menu-right":"menu-down"} />
);
@@ -221,7 +221,7 @@ var MenuFilter = React.createClass({
var Menu = React.createClass({
getInitialState: function() {
- return {filter: 'unread', categories: {}, feeds: {},
+ return {filter: 'all', categories: {}, feeds: {},
all_folded: false, active_type: null, active_id: null};
},
render: function() {
diff --git a/src/web/js/stores/MenuStore.js b/src/web/js/stores/MenuStore.js
index 1cbbbda7..f1b83dce 100644
--- a/src/web/js/stores/MenuStore.js
+++ b/src/web/js/stores/MenuStore.js
@@ -6,7 +6,7 @@ var assign = require('object-assign');
var MenuStore = assign({}, EventEmitter.prototype, {
- _datas: {filter: 'all', feeds: {}, categories: {}, categories_order: [],
+ _datas: {filter: 'unread', feeds: {}, categories: {}, categories_order: [],
active_type: null, active_id: null,
is_admin: false, crawling_method: 'classic',
all_unread_count: 0, max_error: 0, error_threshold: 0,
bgstack15