@griddo/ax 1.75.159 → 1.75.161
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.75.
|
|
4
|
+
"version": "1.75.161",
|
|
5
5
|
"authors": [
|
|
6
6
|
"Álvaro Sánchez' <alvaro.sanches@secuoyas.com>",
|
|
7
7
|
"Carlos Torres <carlos.torres@secuoyas.com>",
|
|
@@ -36,7 +36,8 @@
|
|
|
36
36
|
"test:dev:coverage": "npm run test:coverage -- --watch",
|
|
37
37
|
"lint": "eslint .",
|
|
38
38
|
"format": "prettier -w .",
|
|
39
|
-
"start:test": "env-cmd -f env/.env.development node scripts/dev.js"
|
|
39
|
+
"start:test": "env-cmd -f env/.env.development node scripts/dev.js",
|
|
40
|
+
"cypress:open": "cypress open"
|
|
40
41
|
},
|
|
41
42
|
"dependencies": {
|
|
42
43
|
"@atlaskit/tree": "^8.2.0",
|
|
@@ -118,12 +119,12 @@
|
|
|
118
119
|
"postcss-normalize": "7.0.1",
|
|
119
120
|
"postcss-preset-env": "6.7.0",
|
|
120
121
|
"postcss-safe-parser": "^6.0.0",
|
|
121
|
-
"react": "
|
|
122
|
+
"react": "*",
|
|
122
123
|
"react-app-polyfill": "^1.0.4",
|
|
123
124
|
"react-beautiful-dnd": "^13.1.0",
|
|
124
125
|
"react-datepicker": "^3.2.2",
|
|
125
126
|
"react-dev-utils": "^11.0.4",
|
|
126
|
-
"react-dom": "
|
|
127
|
+
"react-dom": "*",
|
|
127
128
|
"react-draft-wysiwyg": "^1.14.5",
|
|
128
129
|
"react-frame-component": "^5.2.1",
|
|
129
130
|
"react-froala-wysiwyg": "3.1.0",
|
|
@@ -166,10 +167,12 @@
|
|
|
166
167
|
"@types/jest": "^27.4.1",
|
|
167
168
|
"@types/redux-mock-store": "^1.0.3",
|
|
168
169
|
"babel-jest": "^27.5.1",
|
|
170
|
+
"cypress": "^12.3.0",
|
|
169
171
|
"eslint": "^6.1.0",
|
|
170
172
|
"eslint-config-prettier": "^8.3.0",
|
|
171
173
|
"eslint-config-react-app": "^5.0.2",
|
|
172
174
|
"eslint-loader": "^4.0.2",
|
|
175
|
+
"eslint-plugin-cypress": "^2.12.1",
|
|
173
176
|
"eslint-plugin-flowtype": "^5.7.2",
|
|
174
177
|
"eslint-plugin-import": "^2.23.4",
|
|
175
178
|
"eslint-plugin-jsx-a11y": "6.2.3",
|
|
@@ -230,5 +233,5 @@
|
|
|
230
233
|
"publishConfig": {
|
|
231
234
|
"access": "public"
|
|
232
235
|
},
|
|
233
|
-
"gitHead": "
|
|
236
|
+
"gitHead": "49c079d51e314a57983e5e35e3c634af78283b1f"
|
|
234
237
|
}
|
package/src/api/checkgroups.tsx
CHANGED
|
@@ -25,9 +25,9 @@ const getCheckGroupItems = async (
|
|
|
25
25
|
endpoint: [prefix, suffix],
|
|
26
26
|
} = SERVICES.GET_STRUCTURED_DATA;
|
|
27
27
|
|
|
28
|
-
const allLanguagesQuery = allLanguages ? "
|
|
28
|
+
const allLanguagesQuery = allLanguages ? "&allLanguages=true" : "";
|
|
29
29
|
|
|
30
|
-
SERVICES.GET_STRUCTURED_DATA.dynamicUrl = `${host}${prefix}${siteId}${suffix}/${source}/checkgroup${allLanguagesQuery}`;
|
|
30
|
+
SERVICES.GET_STRUCTURED_DATA.dynamicUrl = `${host}${prefix}${siteId}${suffix}/${source}/checkgroup?order=title-ASC${allLanguagesQuery}`;
|
|
31
31
|
|
|
32
32
|
return sendRequest(SERVICES.GET_STRUCTURED_DATA);
|
|
33
33
|
};
|
|
@@ -115,6 +115,7 @@ const GlobalEditor = (props: IProps) => {
|
|
|
115
115
|
const setRoute = (path: string) => props.setHistoryPush(path, true);
|
|
116
116
|
|
|
117
117
|
const removePage = async () => {
|
|
118
|
+
console.log(props, "props");
|
|
118
119
|
const { deletePage } = props;
|
|
119
120
|
const path = "/sites/pages";
|
|
120
121
|
|