@bigbinary/neeto-themes-frontend 4.1.1 → 4.1.2-beta2

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.
@@ -1224,10 +1224,6 @@ var ImageBlock = function ImageBlock(_ref) {
1224
1224
  name = _ref.name,
1225
1225
  _ref$imageData = _ref.imageData,
1226
1226
  imageData = _ref$imageData === void 0 ? {} : _ref$imageData,
1227
- _ref$uploadConfig = _ref.uploadConfig,
1228
- uploadConfig = _ref$uploadConfig === void 0 ? {
1229
- maxImageSize: ONE_MEGABYTE
1230
- } : _ref$uploadConfig,
1231
1227
  attribute = _ref.attribute,
1232
1228
  defaultImageSize = _ref.defaultImageSize,
1233
1229
  useDefaultImageSize = _ref.useDefaultImageSize,
@@ -1248,6 +1244,9 @@ var ImageBlock = function ImageBlock(_ref) {
1248
1244
  }, themePropertiesSchema);
1249
1245
  var enablePositionChanger = (propertySchema === null || propertySchema === void 0 ? void 0 : propertySchema.enablePositionChanger) || false;
1250
1246
  var options = propertySchema === null || propertySchema === void 0 ? void 0 : propertySchema.options;
1247
+ var uploadConfig = {
1248
+ maxImageSize: (propertySchema === null || propertySchema === void 0 ? void 0 : propertySchema.maxImageSizeInMb) || ONE_MEGABYTE
1249
+ };
1251
1250
  var positionKeyInSchema = neetoCist.findBy({
1252
1251
  key: "".concat(name, "_position")
1253
1252
  }, themePropertiesSchema);