diff options
author | François Schmidts <francois.schmidts@gmail.com> | 2016-01-22 19:09:08 +0100 |
---|---|---|
committer | François Schmidts <francois.schmidts@gmail.com> | 2016-01-26 23:47:09 +0100 |
commit | ed74f6a2bfc9975092040c4379f459d4c9442d3f (patch) | |
tree | 9161b66ce5a00781e28bb64393a41911dc7dc2d8 /src/web/js/actions/MenuActions.js | |
parent | adding basic bootstrap (diff) | |
download | newspipe-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.js | 6 |
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, }); |