Skip to content

Commit

Permalink
fixing stuff
Browse files Browse the repository at this point in the history
  • Loading branch information
jaesivsm committed Oct 1, 2016
1 parent 0bd9fa2 commit 22d8672
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion src/web/js/stores/MenuStore.js
Original file line number Diff line number Diff line change
Expand Up @@ -76,7 +76,9 @@ MenuStore.dispatchToken = JarrDispatcher.register(function(action) {
MenuStore.emitChange();
break;
case ActionTypes.PARENT_FILTER:
MenuStore.setActive(action.filter_type, action.filter_id);
if(MenuStore.setActive(action.filter_type, action.filter_id)) {
MenuStore.emitChange();
}
break;
case ActionTypes.MENU_FILTER:
if (MenuStore.setFilter(action.filter)) {
Expand Down

0 comments on commit 22d8672

Please sign in to comment.