@elementor/editor-variables 3.35.0-324 → 3.35.0-326
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/dist/index.js
CHANGED
|
@@ -1439,6 +1439,9 @@ var VariablesManagerTable = ({
|
|
|
1439
1439
|
const rows = ids.filter((id2) => !variables[id2].deleted).map((id2) => {
|
|
1440
1440
|
const variable = variables[id2];
|
|
1441
1441
|
const variableType = getVariableType(variable.type);
|
|
1442
|
+
if (!variableType) {
|
|
1443
|
+
return null;
|
|
1444
|
+
}
|
|
1442
1445
|
return {
|
|
1443
1446
|
id: id2,
|
|
1444
1447
|
type: variable.type,
|
|
@@ -1446,7 +1449,7 @@ var VariablesManagerTable = ({
|
|
|
1446
1449
|
value: variable.value,
|
|
1447
1450
|
...variableType
|
|
1448
1451
|
};
|
|
1449
|
-
});
|
|
1452
|
+
}).filter(Boolean);
|
|
1450
1453
|
const tableSX = {
|
|
1451
1454
|
minWidth: 250,
|
|
1452
1455
|
tableLayout: "fixed"
|