From 15c4ed6bebdeb277c24bd92dab5bba900fc90de4 Mon Sep 17 00:00:00 2001 From: François Schmidts Date: Mon, 25 Jan 2016 13:14:06 +0100 Subject: redoing constant, handling read / unread in menu, removing bad optim for loading articles --- src/web/js/actions/RightPanelActions.js | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'src/web/js/actions/RightPanelActions.js') diff --git a/src/web/js/actions/RightPanelActions.js b/src/web/js/actions/RightPanelActions.js index 3cd549e5..7a7b935a 100644 --- a/src/web/js/actions/RightPanelActions.js +++ b/src/web/js/actions/RightPanelActions.js @@ -1,5 +1,5 @@ var JarrDispatcher = require('../dispatcher/JarrDispatcher'); -var RightActionTypes = require('../constants/JarrConstants').RightPanelActionTypes; +var ActionTypes = require('../constants/JarrConstants'); var jquery = require('jquery'); var RightPanelStore = require('../stores/RightPanelStore'); @@ -10,7 +10,7 @@ var RightPanelActions = { jquery.getJSON('api/v2.0/' + obj_type + '/' + obj_id, function(payload) { _last_fetched_with = filters; JarrDispatcher.dispatch({ - type: RightPanelActionTypes.LOAD_RIGHT_PANEL, + type: ActionTypes.LOAD_RIGHT_PANEL, articles: payload.articles, }); }); -- cgit