From de2e6e719e5692e55d0d407abc658fec07f4ca76 Mon Sep 17 00:00:00 2001 From: Anirban Kar Date: Fri, 6 Dec 2024 23:04:11 +0530 Subject: [PATCH] artifact bugfix --- app/components/chat/Artifact.tsx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/app/components/chat/Artifact.tsx b/app/components/chat/Artifact.tsx index 3ca2508..c53d15b 100644 --- a/app/components/chat/Artifact.tsx +++ b/app/components/chat/Artifact.tsx @@ -49,7 +49,7 @@ export const Artifact = memo(({ messageId }: ArtifactProps) => { setShowActions(true); } - if (actions.length !== 0) { + if (actions.length !== 0 && artifact.type === 'bundled') { const finished = !actions.find((action) => action.status !== 'complete'); setAllActionFinished(finished); }