Refactoring

This commit is contained in:
2015-09-17 17:29:59 +02:00
parent 6a790cc5bd
commit 383f70f7f3
9 changed files with 49 additions and 37 deletions

View File

@ -6,7 +6,7 @@ module.exports = function(oldProfile, action) {
switch(action.type) {
case actions.launcher.LOAD_PROFILE_SUCCESS:
case actions.common.LOAD_PROFILE_SUCCESS:
var newProfile = _.cloneDeep(action.profile);
tree.walk(newProfile, ensureItemKey);
return newProfile;