Skip to content

Commit

Permalink
Merge pull request #253 from digi-serve/fix/parsedDC
Browse files Browse the repository at this point in the history
*Fix parse data to DC by add some more dalay
  • Loading branch information
wongpratan authored Oct 18, 2024
2 parents 71359b3 + da26dce commit a583891
Showing 1 changed file with 6 additions and 2 deletions.
8 changes: 6 additions & 2 deletions ABDataCollectionCore.js
Original file line number Diff line number Diff line change
Expand Up @@ -2345,8 +2345,12 @@ module.exports = class ABDataCollectionCore extends ABMLClass {
return new Promise((resolve) => {
setTimeout(async () => {
await this.queuedParse(nextData);
cb?.();
resolve();

// Introduce a delay to ensure the UI has fully rendered the list before proceeding
setTimeout(async () => {
cb?.();
resolve();
}, 50);
}, 15);
});
}
Expand Down

0 comments on commit a583891

Please sign in to comment.