From df1075f1f515aaf8544cf1dc2f207e22d3ba13ba Mon Sep 17 00:00:00 2001 From: opsx Date: Thu, 29 Oct 2026 13:31:05 +0800 Subject: [PATCH] =?UTF-8?q?fix(layout):=20=E9=A1=B6=E6=A0=8F=E7=94=A8?= =?UTF-8?q?=E6=88=B7=E5=8C=BA=E5=8E=BB=E6=8E=89=E7=9B=BE=E7=89=8C=E5=9B=BE?= =?UTF-8?q?=E6=A0=87=E4=B8=8E=E7=AE=A1=E7=90=86=E5=91=98=E5=BE=BD=E7=AB=A0?= =?UTF-8?q?,=E5=8F=AA=E7=95=99=E7=94=A8=E6=88=B7=E5=90=8D?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- frontend/src/components/Layout.tsx | 9 +-------- 1 file changed, 1 insertion(+), 8 deletions(-) diff --git a/frontend/src/components/Layout.tsx b/frontend/src/components/Layout.tsx index ed89bab..734e3cf 100644 --- a/frontend/src/components/Layout.tsx +++ b/frontend/src/components/Layout.tsx @@ -10,7 +10,6 @@ import { LogOut, PanelLeftClose, PanelLeftOpen, - Shield, ChevronRight, Activity, Menu, @@ -240,13 +239,7 @@ const Layout = memo(function Layout({ children }: { children: React.ReactNode }) {user && (
-
- - {user.username} - - {user.role === 'admin' ? t('layout.admin') : user.role} - -
+ {user.username}