aboutsummaryrefslogtreecommitdiff
path: root/src/web/js/actions/MenuActions.js
diff options
context:
space:
mode:
authorFrançois Schmidts <francois.schmidts@gmail.com>2016-01-22 19:09:08 +0100
committerFrançois Schmidts <francois.schmidts@gmail.com>2016-01-26 23:47:09 +0100
commited74f6a2bfc9975092040c4379f459d4c9442d3f (patch)
tree9161b66ce5a00781e28bb64393a41911dc7dc2d8 /src/web/js/actions/MenuActions.js
parentadding basic bootstrap (diff)
downloadnewspipe-ed74f6a2bfc9975092040c4379f459d4c9442d3f.tar.gz
newspipe-ed74f6a2bfc9975092040c4379f459d4c9442d3f.tar.bz2
newspipe-ed74f6a2bfc9975092040c4379f459d4c9442d3f.zip
renaming, proper usage of props and state, filtering left menu
Diffstat (limited to 'src/web/js/actions/MenuActions.js')
-rw-r--r--src/web/js/actions/MenuActions.js6
1 files changed, 3 insertions, 3 deletions
diff --git a/src/web/js/actions/MenuActions.js b/src/web/js/actions/MenuActions.js
index 558bd857..9502eb6d 100644
--- a/src/web/js/actions/MenuActions.js
+++ b/src/web/js/actions/MenuActions.js
@@ -14,19 +14,19 @@ var MenuActions = {
});
});
},
- setFilterMenuAll: function() {
+ setFilterAll: function() {
JarrDispatcher.dispatch({
component: 'menu',
type: MenuActionTypes.MENU_FILTER_ALL,
});
},
- setFilterMenuUnread: function() {
+ setFilterUnread: function() {
JarrDispatcher.dispatch({
component: 'menu',
type: MenuActionTypes.MENU_FILTER_UNREAD,
});
},
- setFilterMenuError: function() {
+ setFilterError: function() {
JarrDispatcher.dispatch({
type: MenuActionTypes.MENU_FILTER_ERROR,
});
bgstack15