Skip to content

Commit

Permalink
feat(web): optimize the list display logic (#1510)
Browse files Browse the repository at this point in the history
  • Loading branch information
kkangert authored Sep 1, 2023
1 parent ee8f551 commit 970917d
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion web/src/pages/app/setting/AppMonitor/AreaCard/index.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -66,7 +66,7 @@ export default function AreaCard(props: {
<div className={className}>
<div className="mb-3 flex justify-between font-medium text-grayModern-900">
<span className="whitespace-nowrap">{title}</span>
{setDataNumber && podsArray && (
{setDataNumber && podsArray && podsArray.length > 0 && (
<Menu>
<MenuButton className="text-grayModern-600">
{podsArray[dataNumber]}
Expand Down

0 comments on commit 970917d

Please sign in to comment.