fix: do not auto-open artifacts from the sidebar chat hover preview (#27773)
This commit is contained in:
1 file changed
+1
@@ -148,6 +148,7 @@
|
|||||||
|
|
||||||
if (
|
if (
|
||||||
($settings?.detectArtifacts ?? true) &&
|
($settings?.detectArtifacts ?? true) &&
|
||||||
|
!compactPreview &&
|
||||||
isArtifact &&
|
isArtifact &&
|
||||||
hasClosingCodeFence(raw) &&
|
hasClosingCodeFence(raw) &&
|
||||||
!autoOpenedArtifactIds.has(artifactId) &&
|
!autoOpenedArtifactIds.has(artifactId) &&
|
||||||
|
|||||||
Reference in new issue
Block a user