diff --git a/src/renderer/src/stories/SimpleTable.js b/src/renderer/src/stories/SimpleTable.js index bbcfc1f38..6350c930e 100644 --- a/src/renderer/src/stories/SimpleTable.js +++ b/src/renderer/src/stories/SimpleTable.js @@ -743,12 +743,11 @@ export class SimpleTable extends LitElement { if (latest) latest.insertAdjacentElement("afterend", newRow); else bodyEl.append(newRow); }); - + setTimeout(() => { - this.#onUpdate([], this.data) + this.#onUpdate([], this.data); resolve(); - }, 50) // Wait for table to update asynchronously - + }, 50); // Wait for table to update asynchronously } else { this.#onUpdate([], this.data); resolve();