Skip to content

Commit

Permalink
fix: language switching log does not take effect (#654)
Browse files Browse the repository at this point in the history
## What type of PR is this?

/kind bug

## What this PR does / why we need it:

Fix language switching log does not take effect

## Which issue(s) this PR fixes:

<!--
*Automatically closes linked issue when PR is merged.
Usage: `Fixes #<issue number>`, or `Fixes (paste link of issue)`.
_If PR is about `failing-tests or flakes`, please post the related
issues/tests in a comment and do not use `Fixes`_*
-->

Fixes #
  • Loading branch information
hai-tian authored Nov 27, 2024
1 parent 95c6585 commit 6d7cb7f
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion ui/src/pages/insightDetail/resource/index.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -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
})
Expand Down

0 comments on commit 6d7cb7f

Please sign in to comment.