Refactoring
This commit is contained in:
@ -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;
|
||||
|
Reference in New Issue
Block a user