From 2068c6c672d640a15a660932c55814cb8019ffe8 Mon Sep 17 00:00:00 2001 From: tianhai Date: Wed, 27 Nov 2024 12:49:26 +0800 Subject: [PATCH] fix: language switching log does not take effect --- ui/src/pages/insightDetail/resource/index.tsx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/ui/src/pages/insightDetail/resource/index.tsx b/ui/src/pages/insightDetail/resource/index.tsx index 1fdfbf24..174d8157 100644 --- a/ui/src/pages/insightDetail/resource/index.tsx +++ b/ui/src/pages/insightDetail/resource/index.tsx @@ -69,7 +69,7 @@ const ClusterDetail = () => { if (kind === 'Pod') { setTabList(prev => { if (!prev.find(tab => tab.value === 'Log')) { - return [...prev, { value: 'Log', label: t('LogAggregator') }] + return [...prev, { value: 'Log', label: 'LogAggregator' }] } return prev })