From 3e79e956f03da034e16b908f3a41990197619290 Mon Sep 17 00:00:00 2001 From: xiezhouwei Date: Mon, 22 Jun 2026 11:41:24 +0800 Subject: [PATCH] Revert "fix: restrict theme toggle and language selector to console routes only, hide on public pages" This reverts commit ff522958de1dd65ea8119cdef38668783c7876d8. --- .../components/layout/headerbar/ActionButtons.jsx | 15 +++++---------- web/src/components/layout/headerbar/index.jsx | 1 - 2 files changed, 5 insertions(+), 11 deletions(-) diff --git a/web/src/components/layout/headerbar/ActionButtons.jsx b/web/src/components/layout/headerbar/ActionButtons.jsx index 094843d..5e32f28 100644 --- a/web/src/components/layout/headerbar/ActionButtons.jsx +++ b/web/src/components/layout/headerbar/ActionButtons.jsx @@ -35,7 +35,6 @@ const ActionButtons = ({ isLoading, isMobile, isSelfUseMode, - isConsoleRoute, logout, navigate, t, @@ -52,16 +51,12 @@ const ActionButtons = ({ /> )} - {isConsoleRoute && ( - <> - + - - - )} + { isLoading={isLoading} isMobile={isMobile} isSelfUseMode={isSelfUseMode} - isConsoleRoute={isConsoleRoute} logout={logout} navigate={navigate} t={t}