@griddo/ax 1.65.21 → 1.65.26
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": "1.65.
|
|
4
|
+
"version": "1.65.26",
|
|
5
5
|
"authors": [
|
|
6
6
|
"Álvaro Sánchez' <alvaro.sanches@secuoyas.com>",
|
|
7
7
|
"Carlos Torres <carlos.torres@secuoyas.com>",
|
|
@@ -221,5 +221,5 @@
|
|
|
221
221
|
"publishConfig": {
|
|
222
222
|
"access": "public"
|
|
223
223
|
},
|
|
224
|
-
"gitHead": "
|
|
224
|
+
"gitHead": "8269566eb4022c8b202e0a7dae57edc6b5b424ac"
|
|
225
225
|
}
|
|
@@ -85,6 +85,7 @@ const Content = (props: IProps): JSX.Element => {
|
|
|
85
85
|
restorePage,
|
|
86
86
|
getDataPack,
|
|
87
87
|
dataPacks,
|
|
88
|
+
setCurrentDataID,
|
|
88
89
|
} = props;
|
|
89
90
|
|
|
90
91
|
const itemsPerPage = 50;
|
|
@@ -233,6 +234,7 @@ const Content = (props: IProps): JSX.Element => {
|
|
|
233
234
|
setFilter("unique-pages");
|
|
234
235
|
}
|
|
235
236
|
resetPageEditor();
|
|
237
|
+
setCurrentDataID(null);
|
|
236
238
|
// eslint-disable-next-line react-hooks/exhaustive-deps
|
|
237
239
|
}, []);
|
|
238
240
|
|
|
@@ -743,6 +745,7 @@ interface IDispatchProps {
|
|
|
743
745
|
importPageFromGlobal(pageID: number | number[]): Promise<boolean>;
|
|
744
746
|
restorePage(id: number | number[]): Promise<boolean>;
|
|
745
747
|
getDataPack: (id: string) => Promise<void>;
|
|
748
|
+
setCurrentDataID(id: number | null): void;
|
|
746
749
|
}
|
|
747
750
|
|
|
748
751
|
const mapDispatchToProps = {
|
|
@@ -771,6 +774,7 @@ const mapDispatchToProps = {
|
|
|
771
774
|
importPageFromGlobal: sitesActions.importPageFromGlobal,
|
|
772
775
|
restorePage: pageEditorActions.restorePage,
|
|
773
776
|
getDataPack: dataPacksActions.getSiteDataPack,
|
|
777
|
+
setCurrentDataID: structuredDataActions.setCurrentDataID,
|
|
774
778
|
};
|
|
775
779
|
|
|
776
780
|
interface IPagesProps {
|
|
@@ -82,6 +82,7 @@ const StructuredDataList = (props: IProps): JSX.Element => {
|
|
|
82
82
|
restorePage,
|
|
83
83
|
resetPageEditor,
|
|
84
84
|
getAnalytics,
|
|
85
|
+
setCurrentDataID,
|
|
85
86
|
} = props;
|
|
86
87
|
|
|
87
88
|
const itemsPerPage = 50;
|
|
@@ -213,6 +214,7 @@ const StructuredDataList = (props: IProps): JSX.Element => {
|
|
|
213
214
|
resetFilter();
|
|
214
215
|
setIsFirstRender(false);
|
|
215
216
|
resetPageEditor();
|
|
217
|
+
setCurrentDataID(null);
|
|
216
218
|
// eslint-disable-next-line react-hooks/exhaustive-deps
|
|
217
219
|
}, []);
|
|
218
220
|
|
|
@@ -648,6 +650,7 @@ const mapDispatchToProps = {
|
|
|
648
650
|
restorePage: pageEditorActions.restorePage,
|
|
649
651
|
resetPageEditor: pageEditorActions.resetPageEditor,
|
|
650
652
|
getAnalytics: analyticsActions.getAnalytics,
|
|
653
|
+
setCurrentDataID: structuredDataActions.setCurrentDataID,
|
|
651
654
|
};
|
|
652
655
|
|
|
653
656
|
interface IDispatchProps {
|
|
@@ -670,6 +673,7 @@ interface IDispatchProps {
|
|
|
670
673
|
restorePage(id: number | number[]): Promise<boolean>;
|
|
671
674
|
resetPageEditor(): Promise<void>;
|
|
672
675
|
getAnalytics(): void;
|
|
676
|
+
setCurrentDataID(id: number | null): void;
|
|
673
677
|
}
|
|
674
678
|
|
|
675
679
|
interface ICategoriesProps {
|