@griddo/ax 1.67.1 → 1.67.4
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 +2 -2
- package/src/forms/validators.tsx +2 -1
package/package.json
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@griddo/ax",
|
|
3
3
|
"description": "Griddo Author Experience",
|
|
4
|
-
"version": "1.67.
|
|
4
|
+
"version": "1.67.4",
|
|
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": "a356dd64d48cd9d3043adc038e43e6158d8f6241"
|
|
225
225
|
}
|
package/src/forms/validators.tsx
CHANGED
|
@@ -305,6 +305,7 @@ const findPackagesActivationErrors = (
|
|
|
305
305
|
selectedContent: { component },
|
|
306
306
|
} = pageEditor;
|
|
307
307
|
|
|
308
|
+
const isGlobal = component === "GlobalPage";
|
|
308
309
|
let deactivatedModules: string[] = [];
|
|
309
310
|
let isCurrentTemplateActivated = true;
|
|
310
311
|
let hasDeactivatedModules = false;
|
|
@@ -313,7 +314,7 @@ const findPackagesActivationErrors = (
|
|
|
313
314
|
editorContent: { template },
|
|
314
315
|
} = pageEditor?.editorContent;
|
|
315
316
|
|
|
316
|
-
if (template) {
|
|
317
|
+
if (template && !isGlobal) {
|
|
317
318
|
const mainContentModules = template?.mainContent?.modules;
|
|
318
319
|
|
|
319
320
|
if (mainContentModules) {
|