@adminforth/bulk-ai-flow 1.17.8 → 1.17.9
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 +2 -2
- package/custom/VisionTable.vue +2 -2
- package/dist/custom/VisionTable.vue +2 -2
- package/package.json +1 -1
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 91,
|
|
17
|
-
total size is 90,
|
|
16
|
+
sent 91,084 bytes received 172 bytes 182,512.00 bytes/sec
|
|
17
|
+
total size is 90,439 speedup is 0.99
|
package/custom/VisionTable.vue
CHANGED
|
@@ -348,13 +348,13 @@ function shouldDisableRegenerateFieldIcon(item, name) {
|
|
|
348
348
|
|
|
349
349
|
function checkForError(item, name) {
|
|
350
350
|
if (props.outputFieldsForAnalizeFromImages.findIndex( el => el === name) !== -1) {
|
|
351
|
-
const errorMessage = props.imageToTextErrorMessages[props.tableColumnsIndexes.findIndex(el => el[props.primaryKey] === item[props.primaryKey])][name];
|
|
351
|
+
const errorMessage = props.imageToTextErrorMessages?.[props.tableColumnsIndexes.findIndex(el => el[props.primaryKey] === item[props.primaryKey])]?.[name];
|
|
352
352
|
if (errorMessage) {
|
|
353
353
|
return errorMessage;
|
|
354
354
|
}
|
|
355
355
|
}
|
|
356
356
|
if (props.outputPlainFields.findIndex( el => el === name) !== -1) {
|
|
357
|
-
const errorMessage = props.textToTextErrorMessages[props.tableColumnsIndexes.findIndex(el => el[props.primaryKey] === item[props.primaryKey])][name];
|
|
357
|
+
const errorMessage = props.textToTextErrorMessages?.[props.tableColumnsIndexes.findIndex(el => el[props.primaryKey] === item[props.primaryKey])]?.[name];
|
|
358
358
|
if (errorMessage) {
|
|
359
359
|
return errorMessage;
|
|
360
360
|
}
|
|
@@ -348,13 +348,13 @@ function shouldDisableRegenerateFieldIcon(item, name) {
|
|
|
348
348
|
|
|
349
349
|
function checkForError(item, name) {
|
|
350
350
|
if (props.outputFieldsForAnalizeFromImages.findIndex( el => el === name) !== -1) {
|
|
351
|
-
const errorMessage = props.imageToTextErrorMessages[props.tableColumnsIndexes.findIndex(el => el[props.primaryKey] === item[props.primaryKey])][name];
|
|
351
|
+
const errorMessage = props.imageToTextErrorMessages?.[props.tableColumnsIndexes.findIndex(el => el[props.primaryKey] === item[props.primaryKey])]?.[name];
|
|
352
352
|
if (errorMessage) {
|
|
353
353
|
return errorMessage;
|
|
354
354
|
}
|
|
355
355
|
}
|
|
356
356
|
if (props.outputPlainFields.findIndex( el => el === name) !== -1) {
|
|
357
|
-
const errorMessage = props.textToTextErrorMessages[props.tableColumnsIndexes.findIndex(el => el[props.primaryKey] === item[props.primaryKey])][name];
|
|
357
|
+
const errorMessage = props.textToTextErrorMessages?.[props.tableColumnsIndexes.findIndex(el => el[props.primaryKey] === item[props.primaryKey])]?.[name];
|
|
358
358
|
if (errorMessage) {
|
|
359
359
|
return errorMessage;
|
|
360
360
|
}
|