From 946fadb5911872f8e13368fd094056930cf974bd Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E9=87=91=E4=BC=9F=E5=BC=BA?= Date: Sun, 21 May 2023 16:13:22 +0800 Subject: [PATCH] fix: last item can not click show opt and copty pos --- web/app/components/explore/sidebar/app-nav-item/index.tsx | 4 ++-- web/app/components/explore/sidebar/index.tsx | 2 +- web/app/components/share/text-generation/index.tsx | 5 ++++- 3 files changed, 7 insertions(+), 4 deletions(-) diff --git a/web/app/components/explore/sidebar/app-nav-item/index.tsx b/web/app/components/explore/sidebar/app-nav-item/index.tsx index 8ec16a0964..9ed5213667 100644 --- a/web/app/components/explore/sidebar/app-nav-item/index.tsx +++ b/web/app/components/explore/sidebar/app-nav-item/index.tsx @@ -44,7 +44,7 @@ export default function AppNavItem({ router.push(url) // use Link causes popup item always trigger jump. Can not be solved by e.stopPropagation(). }} > -
+
{/*
*/} -
{name}
+
{name}
{ !isSelected && ( diff --git a/web/app/components/explore/sidebar/index.tsx b/web/app/components/explore/sidebar/index.tsx index ef4a07b8db..b9458bf2a7 100644 --- a/web/app/components/explore/sidebar/index.tsx +++ b/web/app/components/explore/sidebar/index.tsx @@ -84,7 +84,7 @@ const SideBar: FC<{ {installedApps.length > 0 && (
{t('explore.sidebar.workspace')}
-
= ({ {/* copyright */} -
+
© {siteInfo.copyright || siteInfo.title} {(new Date()).getFullYear()}
{siteInfo.privacy_policy && ( <>