@griddo/ax 11.2.1 → 11.2.2
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.
package/package.json
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@griddo/ax",
|
|
3
3
|
"description": "Griddo Author Experience",
|
|
4
|
-
"version": "11.2.
|
|
4
|
+
"version": "11.2.2",
|
|
5
5
|
"authors": [
|
|
6
6
|
"Álvaro Sánchez' <alvaro.sanches@secuoyas.com>",
|
|
7
7
|
"Carlos Torres <carlos.torres@secuoyas.com>",
|
|
@@ -225,5 +225,5 @@
|
|
|
225
225
|
"publishConfig": {
|
|
226
226
|
"access": "public"
|
|
227
227
|
},
|
|
228
|
-
"gitHead": "
|
|
228
|
+
"gitHead": "5c9c6efa23d58fcfe02d42c10692d28f1325f4c3"
|
|
229
229
|
}
|
|
@@ -401,12 +401,12 @@ function deleteStructuredDataContent(
|
|
|
401
401
|
|
|
402
402
|
const {
|
|
403
403
|
structuredData: { currentFilter, currentStructuredData },
|
|
404
|
-
sites: { currentSiteInfo },
|
|
404
|
+
sites: { currentSiteInfo, currentFilter: currentSiteFilter },
|
|
405
405
|
}: IRootState = getState();
|
|
406
406
|
|
|
407
407
|
const params = {
|
|
408
408
|
...DEFAULT_PARAMS,
|
|
409
|
-
dataID: currentFilter,
|
|
409
|
+
dataID: currentSiteInfo ? currentSiteFilter : currentFilter,
|
|
410
410
|
groupingCategories: currentStructuredData?.taxonomy || false,
|
|
411
411
|
};
|
|
412
412
|
|
|
@@ -442,10 +442,10 @@ function restoreStructuredDataContent(dataID: number | number[]): (dispatch: Dis
|
|
|
442
442
|
|
|
443
443
|
const {
|
|
444
444
|
structuredData: { currentFilter },
|
|
445
|
-
sites: { currentSiteInfo },
|
|
445
|
+
sites: { currentSiteInfo, currentFilter: currentSiteFilter },
|
|
446
446
|
} = getState();
|
|
447
447
|
|
|
448
|
-
const params = { ...DEFAULT_PARAMS, dataID: currentFilter };
|
|
448
|
+
const params = { ...DEFAULT_PARAMS, dataID: currentSiteInfo ? currentSiteFilter : currentFilter };
|
|
449
449
|
|
|
450
450
|
const siteID = currentSiteInfo && currentSiteInfo.id;
|
|
451
451
|
|
|
@@ -496,10 +496,10 @@ function setStatusStructuredDataContent(
|
|
|
496
496
|
try {
|
|
497
497
|
const {
|
|
498
498
|
structuredData: { currentFilter },
|
|
499
|
-
sites: { currentSiteInfo },
|
|
499
|
+
sites: { currentSiteInfo, currentFilter: currentSiteFilter },
|
|
500
500
|
} = getState();
|
|
501
501
|
|
|
502
|
-
const params = { ...DEFAULT_PARAMS, dataID: currentFilter };
|
|
502
|
+
const params = { ...DEFAULT_PARAMS, dataID: currentSiteInfo ? currentSiteFilter : currentFilter };
|
|
503
503
|
|
|
504
504
|
const siteID = currentSiteInfo && currentSiteInfo.id;
|
|
505
505
|
|