@adminforth/bulk-ai-flow 1.18.1 → 1.18.2

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/build.log CHANGED
@@ -13,5 +13,5 @@ custom/package-lock.json
13
13
  custom/package.json
14
14
  custom/tsconfig.json
15
15
 
16
- sent 92,827 bytes received 172 bytes 185,998.00 bytes/sec
17
- total size is 92,182 speedup is 0.99
16
+ sent 92,820 bytes received 172 bytes 185,984.00 bytes/sec
17
+ total size is 92,184 speedup is 0.99
@@ -340,7 +340,7 @@ function regerenerateFieldIconClick(item, name) {
340
340
 
341
341
  function shouldDisableRegenerateFieldIcon(item, name) {
342
342
  if (props.outputFieldsForAnalizeFromImages.findIndex( el => el === name) !== -1 &&
343
- props.imageToTextErrorMessages[props.tableColumnsIndexes.findIndex(el => el[props.primaryKey] === item[props.primaryKey])][name] === 'No source images found') {
343
+ props.imageToTextErrorMessages[props.tableColumnsIndexes.findIndex(el => el[props.primaryKey] === item[props.primaryKey])]?.[name] === 'No source images found') {
344
344
  return true;
345
345
  }
346
346
  return false;
@@ -340,7 +340,7 @@ function regerenerateFieldIconClick(item, name) {
340
340
 
341
341
  function shouldDisableRegenerateFieldIcon(item, name) {
342
342
  if (props.outputFieldsForAnalizeFromImages.findIndex( el => el === name) !== -1 &&
343
- props.imageToTextErrorMessages[props.tableColumnsIndexes.findIndex(el => el[props.primaryKey] === item[props.primaryKey])][name] === 'No source images found') {
343
+ props.imageToTextErrorMessages[props.tableColumnsIndexes.findIndex(el => el[props.primaryKey] === item[props.primaryKey])]?.[name] === 'No source images found') {
344
344
  return true;
345
345
  }
346
346
  return false;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@adminforth/bulk-ai-flow",
3
- "version": "1.18.1",
3
+ "version": "1.18.2",
4
4
  "publishConfig": {
5
5
  "access": "public"
6
6
  },