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
commit bcb6628920
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

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 (