@adminforth/bulk-ai-flow 1.22.2 → 1.22.3

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 99,492 bytes received 172 bytes 199,328.00 bytes/sec
17
- total size is 98,847 speedup is 0.99
16
+ sent 99,621 bytes received 172 bytes 199,586.00 bytes/sec
17
+ total size is 98,985 speedup is 0.99
@@ -382,6 +382,8 @@ async function runAiActions() {
382
382
  isActiveGeneration.value = true;
383
383
  completedRecordIds.value = new Set();
384
384
  startedRecordCount.value = 0;
385
+ await nextTick();
386
+ tableRef.value?.refresh();
385
387
  const limit = pLimit(props.meta.concurrencyLimit || 10);
386
388
  const tasks = recordIds.value
387
389
  .map(id => limit(() => processOneRecord(String(id))));
@@ -397,6 +399,9 @@ const closeDialog = () => {
397
399
  isDialogOpen.value = false;
398
400
  popupMode.value = 'confirmation';
399
401
  isDataSaved.value = false;
402
+ if (isGenerationPaused.value || isGenerationCancelled.value) {
403
+ resolvePause();
404
+ }
400
405
  }
401
406
 
402
407
  async function initializeGlobalState() {
@@ -382,6 +382,8 @@ async function runAiActions() {
382
382
  isActiveGeneration.value = true;
383
383
  completedRecordIds.value = new Set();
384
384
  startedRecordCount.value = 0;
385
+ await nextTick();
386
+ tableRef.value?.refresh();
385
387
  const limit = pLimit(props.meta.concurrencyLimit || 10);
386
388
  const tasks = recordIds.value
387
389
  .map(id => limit(() => processOneRecord(String(id))));
@@ -397,6 +399,9 @@ const closeDialog = () => {
397
399
  isDialogOpen.value = false;
398
400
  popupMode.value = 'confirmation';
399
401
  isDataSaved.value = false;
402
+ if (isGenerationPaused.value || isGenerationCancelled.value) {
403
+ resolvePause();
404
+ }
400
405
  }
401
406
 
402
407
  async function initializeGlobalState() {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@adminforth/bulk-ai-flow",
3
- "version": "1.22.2",
3
+ "version": "1.22.3",
4
4
  "publishConfig": {
5
5
  "access": "public"
6
6
  },