@adminforth/bulk-ai-flow 1.10.0 → 1.10.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
@@ -11,5 +11,5 @@ custom/package-lock.json
11
11
  custom/package.json
12
12
  custom/tsconfig.json
13
13
 
14
- sent 186,334 bytes received 134 bytes 372,936.00 bytes/sec
15
- total size is 185,801 speedup is 1.00
14
+ sent 186,483 bytes received 134 bytes 373,234.00 bytes/sec
15
+ total size is 185,950 speedup is 1.00
@@ -546,6 +546,10 @@ async function runAiAction({
546
546
  if (actionType !== 'analyze_no_images' || !props.meta.isFieldsForAnalizeFromImages) {
547
547
  responseFlag.value[index] = true;
548
548
  }
549
+ if (index !== -1) {
550
+ jobsIds.splice(jobsIds.findIndex(j => j.jobId === jobId), 1);
551
+ }
552
+ isAtLeastOneInProgress = true;
549
553
  adminforth.alert({
550
554
  message: `Generation action "${actionType.replace('_', ' ')}" failed for record: ${recordId}. Error: ${jobResponse.job?.error || 'Unknown error'}`,
551
555
  variant: 'danger',
@@ -546,6 +546,10 @@ async function runAiAction({
546
546
  if (actionType !== 'analyze_no_images' || !props.meta.isFieldsForAnalizeFromImages) {
547
547
  responseFlag.value[index] = true;
548
548
  }
549
+ if (index !== -1) {
550
+ jobsIds.splice(jobsIds.findIndex(j => j.jobId === jobId), 1);
551
+ }
552
+ isAtLeastOneInProgress = true;
549
553
  adminforth.alert({
550
554
  message: `Generation action "${actionType.replace('_', ' ')}" failed for record: ${recordId}. Error: ${jobResponse.job?.error || 'Unknown error'}`,
551
555
  variant: 'danger',
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@adminforth/bulk-ai-flow",
3
- "version": "1.10.0",
3
+ "version": "1.10.2",
4
4
  "publishConfig": {
5
5
  "access": "public"
6
6
  },