Merge branch 'coleam00:main' into ui/model-dropdown

This commit is contained in:
Dustin Loring
2024-12-07 11:07:09 -05:00
committed by GitHub

View File

@@ -49,10 +49,13 @@ export const Artifact = memo(({ messageId }: ArtifactProps) => {
setShowActions(true); setShowActions(true);
} }
if (actions.length !== 0) { if (actions.length !== 0 && artifact.type === 'bundled') {
const finished = !actions.find((action) => action.status !== 'complete'); const finished = !actions.find((action) => action.status !== 'complete');
if (finished != allActionFinished) {
setAllActionFinished(finished); setAllActionFinished(finished);
} }
}
}, [actions]); }, [actions]);
return ( return (