@files-stack/client-redux
Advanced tools
Comparing version 0.0.26-2 to 0.0.26-3
@@ -318,3 +318,3 @@ module.exports = | ||
activeEditorId = state.activeEditorId; | ||
editors = lodash_1.clone(state.editors); | ||
editors = [...state.editors]; | ||
editorsHeight = state.editorsHeight; | ||
@@ -344,2 +344,3 @@ if (editors.length === 0) { | ||
}; | ||
console.log('readingFile', readingFile); | ||
return Object.assign({}, state, { readingFile, | ||
@@ -350,5 +351,5 @@ activeEditorId, editors: [...editors], editorsHeight: [...editorsHeight], oldValue: action.payload ? action.payload.oldValue : null, deleted: action.payload ? action.payload.deleted : null, addIgnore: action.payload ? action.payload.addIgnore : null }); | ||
editorId = action.content.editorId; | ||
openingFiles = state.openingFiles; | ||
editors = lodash_1.clone(state.editors); | ||
editorsHeight = state.editorsHeight; | ||
openingFiles = [...state.openingFiles]; | ||
editors = [...state.editors]; | ||
editorsHeight = [...state.editorsHeight]; | ||
if (editors.length === 0) { | ||
@@ -407,6 +408,6 @@ editors = [editorId]; | ||
editorId = action.content.editorId; | ||
openingFiles = state.openingFiles; | ||
editingFiles = state.editingFiles; | ||
editors = lodash_1.clone(state.editors); | ||
editorsHeight = state.editorsHeight; | ||
openingFiles = [...state.openingFiles]; | ||
editingFiles = [...state.editingFiles]; | ||
editors = [...state.editors]; | ||
editorsHeight = [...state.editorsHeight]; | ||
activeEditorId = state.activeEditorId; | ||
@@ -413,0 +414,0 @@ index = ramda_1.findIndex(ramda_1.whereEq({ |
{ | ||
"name": "@files-stack/client-redux", | ||
"version": "0.0.26-2", | ||
"version": "0.0.26-3", | ||
"description": "Files Redux consists of reducers and actions", | ||
@@ -56,4 +56,4 @@ "main": "lib/index.js", | ||
"dependencies": { | ||
"@files-stack/client-core": "^0.0.26-2", | ||
"@files-stack/core": "^0.0.26-2" | ||
"@files-stack/client-core": "^0.0.26-3", | ||
"@files-stack/core": "^0.0.26-3" | ||
}, | ||
@@ -60,0 +60,0 @@ "peerDependencies": { |
Sorry, the diff of this file is not supported yet
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
96652
1204