@jfront/core-redux-saga
Advanced tools
Comparing version 0.4.1 to 0.4.2
@@ -6,2 +6,13 @@ # Change Log | ||
## [0.4.2](https://github.com/Jepria/jfront-core/compare/@jfront/core-redux-saga@0.4.1...@jfront/core-redux-saga@0.4.2) (2021-04-01) | ||
### Bug Fixes | ||
* search type ([b6be2c7](https://github.com/Jepria/jfront-core/commit/b6be2c7cec95feb9cf7ddd10118d62d10278702a)) | ||
## [0.4.1](https://github.com/Jepria/jfront-core/compare/@jfront/core-redux-saga@0.4.0...@jfront/core-redux-saga@0.4.1) (2021-04-01) | ||
@@ -8,0 +19,0 @@ |
@@ -23,7 +23,5 @@ "use strict"; | ||
state.isLoading = true; | ||
state.error = ""; | ||
}, | ||
getOptionsSuccess: function getOptionsSuccess(state, action) { | ||
state.options = action.payload.options; | ||
state.error = ""; | ||
state.isLoading = false; | ||
@@ -30,0 +28,0 @@ }, |
@@ -107,3 +107,3 @@ "use strict"; | ||
return (0, _effects.put)(actions.searchSuccess({ | ||
records: result.resultSetSize > 0 ? result.data : [], | ||
records: result.resultsetSize > 0 ? result.data : [], | ||
resultSetSize: result.resultsetSize | ||
@@ -110,0 +110,0 @@ })); |
@@ -17,3 +17,2 @@ function _extends() { _extends = Object.assign || function (target) { for (var i = 1; i < arguments.length; i++) { var source = arguments[i]; for (var key in source) { if (Object.prototype.hasOwnProperty.call(source, key)) { target[key] = source[key]; } } } return target; }; return _extends.apply(this, arguments); } | ||
state.isLoading = true; | ||
state.error = ""; | ||
}, | ||
@@ -23,3 +22,2 @@ | ||
state.options = action.payload.options; | ||
state.error = ""; | ||
state.isLoading = false; | ||
@@ -26,0 +24,0 @@ }, |
@@ -74,3 +74,3 @@ function _extends() { _extends = Object.assign || function (target) { for (var i = 1; i < arguments.length; i++) { var source = arguments[i]; for (var key in source) { if (Object.prototype.hasOwnProperty.call(source, key)) { target[key] = source[key]; } } } return target; }; return _extends.apply(this, arguments); } | ||
yield put(actions.searchSuccess({ | ||
records: result.resultSetSize > 0 ? result.data : [], | ||
records: result.resultsetSize > 0 ? result.data : [], | ||
resultSetSize: result.resultsetSize | ||
@@ -77,0 +77,0 @@ })); |
{ | ||
"name": "@jfront/core-redux-saga", | ||
"version": "0.4.1", | ||
"version": "0.4.2", | ||
"license": "Apache-2.0", | ||
@@ -28,3 +28,3 @@ "main": "dist/cjs/index.js", | ||
"dependencies": { | ||
"@jfront/core-rest": "^0.3.1" | ||
"@jfront/core-rest": "^0.3.2" | ||
}, | ||
@@ -36,3 +36,3 @@ "peerDependencies": { | ||
}, | ||
"gitHead": "d267fcc4dfb4893f858be5849fbdb2b8b5d82f9a" | ||
"gitHead": "307f65d424954e8a1332611c40019d5235f97c6c" | ||
} |
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
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
161264
1672
Updated@jfront/core-rest@^0.3.2