aboutsummaryrefslogtreecommitdiff
path: root/src/web/js/components/Menu.react.js
diff options
context:
space:
mode:
authorCédric Bonhomme <cedric@cedricbonhomme.org>2016-10-05 07:46:57 +0200
committerCédric Bonhomme <cedric@cedricbonhomme.org>2016-10-05 07:46:57 +0200
commit4719ff1b6adda86debaebd4b1653f7b6bba10b0c (patch)
treea508faea3521c0332d082bf63ed8bcb955a931bd /src/web/js/components/Menu.react.js
parentBy default only list feeds with unread articles. (diff)
downloadnewspipe-4719ff1b6adda86debaebd4b1653f7b6bba10b0c.tar.gz
newspipe-4719ff1b6adda86debaebd4b1653f7b6bba10b0c.tar.bz2
newspipe-4719ff1b6adda86debaebd4b1653f7b6bba10b0c.zip
By default only list feeds with unread articles. (2)
Diffstat (limited to 'src/web/js/components/Menu.react.js')
-rw-r--r--src/web/js/components/Menu.react.js4
1 files changed, 2 insertions, 2 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() {
bgstack15