redux-clerk2 2.0.18 → 2.0.19
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
|
@@ -111,6 +111,7 @@ var _initialiseProps = function _initialiseProps() {
|
|
|
111
111
|
dispatch(action);
|
|
112
112
|
|
|
113
113
|
if (type === 'success' && actionData.options.normalizeResponse) {
|
|
114
|
+
console.log('actionData.options:', actionData.options);
|
|
114
115
|
// DISPATCH RELATED ACTIONS IF WE HAVE normalizationSettings
|
|
115
116
|
if (responseData) {
|
|
116
117
|
if (actionData.normalizationSettings && Array.isArray(actionData.normalizationSettings)) {
|
|
@@ -233,7 +234,7 @@ var _initialiseProps = function _initialiseProps() {
|
|
|
233
234
|
|
|
234
235
|
var entityActionData = {
|
|
235
236
|
instance: instance || entity, uidField: 'id', options: {
|
|
236
|
-
appendResponse:
|
|
237
|
+
appendResponse: true,
|
|
237
238
|
recalcTotal: true
|
|
238
239
|
}
|
|
239
240
|
};
|
package/package.json
CHANGED
|
@@ -60,6 +60,7 @@ class BaseAction {
|
|
|
60
60
|
dispatch(action);
|
|
61
61
|
|
|
62
62
|
if (type === 'success' && actionData.options.normalizeResponse) {
|
|
63
|
+
console.log(`actionData.options:`, actionData.options)
|
|
63
64
|
// DISPATCH RELATED ACTIONS IF WE HAVE normalizationSettings
|
|
64
65
|
if (responseData) {
|
|
65
66
|
if(actionData.normalizationSettings && Array.isArray(actionData.normalizationSettings)){
|
|
@@ -135,7 +136,7 @@ class BaseAction {
|
|
|
135
136
|
|
|
136
137
|
const entityActionData = {
|
|
137
138
|
instance: instance || entity, uidField: 'id', options: {
|
|
138
|
-
appendResponse:
|
|
139
|
+
appendResponse: true,
|
|
139
140
|
recalcTotal: true
|
|
140
141
|
}
|
|
141
142
|
};
|