From 74367f7353bf47e25d12f1e89770681214e8ccd7 Mon Sep 17 00:00:00 2001 From: jarvis2f <137974272+jarvis2f@users.noreply.github.com> Date: Fri, 7 Feb 2025 16:41:46 +0800 Subject: [PATCH] =?UTF-8?q?=F0=9F=9A=B8=20feat:=20The=20caption=20of=20the?= =?UTF-8?q?=20display=20file=20when=20the=20table=20height=20is=20's'.(#28?= =?UTF-8?q?)?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- web/src/components/file-extra.tsx | 10 ++++++++-- 1 file changed, 8 insertions(+), 2 deletions(-) diff --git a/web/src/components/file-extra.tsx b/web/src/components/file-extra.tsx index 2f605de..cb6ac22 100644 --- a/web/src/components/file-extra.tsx +++ b/web/src/components/file-extra.tsx @@ -95,7 +95,9 @@ function FilePath({ file }: { file: TelegramFile }) { -
{file.localPath}
+
+ {file.localPath} +
); @@ -148,7 +150,11 @@ export default function FileExtra({ file, rowHeight }: FileExtraProps) { if (rowHeight === "s") { return ( - {file.fileName ? : } + {file.fileName ? ( + + ) : ( + + )} ); }