From 3627ea516012d554720dba1e64872791c9bfeb4e Mon Sep 17 00:00:00 2001 From: wsp1911 Date: Sat, 1 Aug 2026 15:02:09 +0800 Subject: [PATCH] fix(nav): show empty state for workspaces without sessions --- .../NavPanel/sections/sessions/SessionsSection.tsx | 8 +++++++- 1 file changed, 7 insertions(+), 1 deletion(-) diff --git a/src/web-ui/src/app/components/NavPanel/sections/sessions/SessionsSection.tsx b/src/web-ui/src/app/components/NavPanel/sections/sessions/SessionsSection.tsx index 87f8693ec7..69f3e55d7d 100644 --- a/src/web-ui/src/app/components/NavPanel/sections/sessions/SessionsSection.tsx +++ b/src/web-ui/src/app/components/NavPanel/sections/sessions/SessionsSection.tsx @@ -1174,7 +1174,13 @@ const SessionsSection: React.FC = ({ ); } - return null; + return ( +
+
+ {t('nav.sessions.noSessions')} +
+
+ ); } return (