artifact bugfix

This commit is contained in:
Anirban Kar 2024-12-06 23:04:11 +05:30
parent 05a5f85e68
commit de2e6e719e

View File

@ -49,7 +49,7 @@ 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); setAllActionFinished(finished);
} }