From 152a49db9bfc33e7f40b95e1f9bb421f3ae9db33 Mon Sep 17 00:00:00 2001 From: xiaoxia Date: Sun, 19 Jul 2026 07:41:03 +0800 Subject: [PATCH] =?UTF-8?q?fix(P1):=20=E8=A7=86=E9=A2=91=E5=BA=93=E5=B7=A6?= =?UTF-8?q?=E4=BE=A7=E5=88=97=E8=A1=A8=E5=8F=AA=E6=98=BE=E7=A4=BAvideo?= =?UTF-8?q?=E7=B1=BB=E5=9E=8B=E5=BA=93=EF=BC=8C=E8=BF=87=E6=BB=A4=E9=85=8D?= =?UTF-8?q?=E9=9F=B3=E5=BA=93=20(#562)?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Co-authored-by: xiaoxia Co-committed-by: xiaoxia --- apps/web/src/pages/assets/AssetLibrary.tsx | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) mode change 100644 => 100755 apps/web/src/pages/assets/AssetLibrary.tsx diff --git a/apps/web/src/pages/assets/AssetLibrary.tsx b/apps/web/src/pages/assets/AssetLibrary.tsx old mode 100644 new mode 100755 index 5541ae93c..2f945e4dc --- a/apps/web/src/pages/assets/AssetLibrary.tsx +++ b/apps/web/src/pages/assets/AssetLibrary.tsx @@ -358,7 +358,10 @@ const AssetLibrary: React.FC = () => { }) const libraries = useMemo( - () => (Array.isArray(apiLibraries) ? apiLibraries : []).map(mapLibrary), + () => + (Array.isArray(apiLibraries) ? apiLibraries : []) + .map(mapLibrary) + .filter((lib) => lib.kind === "video"), [apiLibraries], )