From 184355d6bf460e4b173bbefed1aaad335d30bfe4 Mon Sep 17 00:00:00 2001 From: MT-Mint <798521692@qq.com> Date: Sat, 11 Apr 2026 17:38:01 +0800 Subject: [PATCH] =?UTF-8?q?fix:=20fix=E8=8E=AB=E5=90=8D=E4=BF=AE=E6=94=B9?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../src/components/workspace/artifacts/artifact-file-detail.tsx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/frontend/src/components/workspace/artifacts/artifact-file-detail.tsx b/frontend/src/components/workspace/artifacts/artifact-file-detail.tsx index d67c0fed..3c207add 100644 --- a/frontend/src/components/workspace/artifacts/artifact-file-detail.tsx +++ b/frontend/src/components/workspace/artifacts/artifact-file-detail.tsx @@ -1276,7 +1276,7 @@ function ArtifactOfficePreview({ type="button" className={cn( "rounded px-4 py-3 text-xs whitespace-nowrap", - activeSheet === sheetNames[0] + activeSheet === sheetName ? "bg-[#1500331a] text-[#000000]" : "text-muted-foreground hover:text-foreground", )}