Merge pull request #569 from thecodacus/fix-artifact-bug
Browse files
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 |
}
|