From ed74f6a2bfc9975092040c4379f459d4c9442d3f Mon Sep 17 00:00:00 2001 From: François Schmidts Date: Fri, 22 Jan 2016 19:09:08 +0100 Subject: renaming, proper usage of props and state, filtering left menu --- src/web/js/actions/MenuActions.js | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'src/web/js/actions/MenuActions.js') 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, }); -- cgit