mirror of
https://github.com/stackblitz/bolt.new
synced 2025-02-06 04:48:04 +00:00
Merge branch 'coleam00:main' into ui/model-dropdown
This commit is contained in:
commit
bcb6628920
@ -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]);
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user