From 390e439f38ef4a3bb4af597ab2bf18282d77725f Mon Sep 17 00:00:00 2001 From: wangxuan Date: Thu, 9 Feb 2023 00:54:34 +0800 Subject: [PATCH] feat: Fix the translation of the tab label on the right hand panel (#3153) --- platform/ui/src/components/SidePanel/SidePanel.tsx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/platform/ui/src/components/SidePanel/SidePanel.tsx b/platform/ui/src/components/SidePanel/SidePanel.tsx index 9119d51a8..6c19878cb 100644 --- a/platform/ui/src/components/SidePanel/SidePanel.tsx +++ b/platform/ui/src/components/SidePanel/SidePanel.tsx @@ -203,7 +203,7 @@ const SidePanel = ({ /> {/* Todo: ass secondary label here */} - {tabs.length === 1 && tabs[activeTabIndex].label} + {tabs.length === 1 && t(tabs[activeTabIndex].label) as string}