Skip to content

Commit

Permalink
changed the reducer of importer
Browse files Browse the repository at this point in the history
  • Loading branch information
MV88 committed Oct 11, 2016
1 parent 5154553 commit db96f84
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions web/client/reducers/importer.js
Original file line number Diff line number Diff line change
Expand Up @@ -35,7 +35,7 @@ const {
} = require('../actions/importer');

const {
ON_STARTUP
MANAGER_ITEM_SELECTED
} = require('../actions/manager');

const assign = require('object-assign');
Expand Down Expand Up @@ -149,7 +149,7 @@ function importer(state = initialState, action) {
}
}
return state;
case ON_STARTUP: {
case MANAGER_ITEM_SELECTED: {
const toolId = action.toolId;
if (toolId === state.importerTool) {
return assign({}, state, {
Expand Down

0 comments on commit db96f84

Please sign in to comment.