mirror of
https://github.com/stackblitz-labs/bolt.diy
synced 2025-06-26 18:26:38 +00:00
fix(chat): update artifact ID check for restored project setup
The artifact ID check was updated from 'imported-files' to 'restored-project-setup' to correctly identify the restored project setup action. This ensures the UI displays the appropriate message based on the artifact's state.
This commit is contained in:
parent
42eaa2f5e1
commit
cfbc215001
@ -111,7 +111,7 @@ export const Artifact = memo(({ messageId }: ArtifactProps) => {
|
|||||||
</div>
|
</div>
|
||||||
<div className="text-bolt-elements-textPrimary font-medium leading-5 text-sm">
|
<div className="text-bolt-elements-textPrimary font-medium leading-5 text-sm">
|
||||||
{allActionFinished
|
{allActionFinished
|
||||||
? artifact.id === 'imported-files'
|
? artifact.id === 'restored-project-setup'
|
||||||
? 'Restore files from snapshot'
|
? 'Restore files from snapshot'
|
||||||
: 'Initial files created'
|
: 'Initial files created'
|
||||||
: 'Creating initial files'}
|
: 'Creating initial files'}
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user