codacus commited on
Commit
f4d2f73
·
unverified ·
2 Parent(s): 05a5f85 de2e6e7

Merge pull request #569 from thecodacus/fix-artifact-bug

Browse files
Files changed (1) hide show
  1. app/components/chat/Artifact.tsx +1 -1
app/components/chat/Artifact.tsx CHANGED
@@ -49,7 +49,7 @@ export const Artifact = memo(({ messageId }: ArtifactProps) => {
49
  setShowActions(true);
50
  }
51
 
52
- if (actions.length !== 0) {
53
  const finished = !actions.find((action) => action.status !== 'complete');
54
  setAllActionFinished(finished);
55
  }
 
49
  setShowActions(true);
50
  }
51
 
52
+ if (actions.length !== 0 && artifact.type === 'bundled') {
53
  const finished = !actions.find((action) => action.status !== 'complete');
54
  setAllActionFinished(finished);
55
  }