@opengeoweb/form-fields 9.35.0 → 9.35.1-spike-oltanstack.0

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.
Files changed (2) hide show
  1. package/index.esm.js +1 -1
  2. package/package.json +1 -1
package/index.esm.js CHANGED
@@ -296,7 +296,7 @@ var countIntersectionPoints = function countIntersectionPoints(geojson, intersec
296
296
  return collisionPoints.length;
297
297
  };
298
298
  var isGeometryDirty = function isGeometryDirty(geoJSON, formGeoJSON) {
299
- if (geoJSON === (undefined) || formGeoJSON === (undefined) || !hasValidGeometry(geoJSON) || !hasValidGeometry(formGeoJSON)) {
299
+ if (!geoJSON || !formGeoJSON || !hasValidGeometry(geoJSON) || !hasValidGeometry(formGeoJSON)) {
300
300
  return false;
301
301
  }
302
302
  return !isEqual(
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@opengeoweb/form-fields",
3
- "version": "9.35.0",
3
+ "version": "9.35.1-spike-oltanstack.0",
4
4
  "description": "GeoWeb form-fields library for the opengeoweb project",
5
5
  "license": "Apache-2.0",
6
6
  "repository": {