codacus commited on
Commit
49f9d8b
·
1 Parent(s): c0873bc

chore: ui fix

Browse files
Files changed (1) hide show
  1. app/lib/stores/workbench.ts +1 -1
app/lib/stores/workbench.ts CHANGED
@@ -309,7 +309,7 @@ export class WorkbenchStore {
309
 
310
  if (!isStreaming) {
311
  await artifact.runner.runAction(data);
312
- this.resetCurrentDocument();
313
  }
314
  } else {
315
  await artifact.runner.runAction(data);
 
309
 
310
  if (!isStreaming) {
311
  await artifact.runner.runAction(data);
312
+ this.resetAllFileModifications();
313
  }
314
  } else {
315
  await artifact.runner.runAction(data);