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,9 +49,12 @@ 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');
setAllActionFinished(finished);
if (finished != allActionFinished) {
setAllActionFinished(finished);
}
} }
}, [actions]); }, [actions]);