Skip to content

Commit

Permalink
fix: wrong topology resources list when switch cluster
Browse files Browse the repository at this point in the history
  • Loading branch information
hai-tian authored and elliotxx committed Jun 24, 2024
1 parent 95fd553 commit c9d6781
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion ui/src/pages/insightDetail/group/index.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -76,7 +76,7 @@ const ClusterDetail = () => {
const kindTmp = item?.id?.split('.')
const len = kindTmp?.length
const lastKindTmp = kindTmp?.[len - 1]
if (lastKindTmp === 'Pod') {
if (lastKindTmp === (tableName || 'Pod')) {
return true
} else {
return false
Expand Down

0 comments on commit c9d6781

Please sign in to comment.