Skip to content

Commit

Permalink
fix :: 빈 객체 펑 고침
Browse files Browse the repository at this point in the history
  • Loading branch information
dutexion committed Aug 9, 2024
1 parent adff727 commit 488ea21
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions src/pages/Team/deploy/Container/HaveContainer.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -113,25 +113,25 @@ export const TeamDeployHaveContainer = () => {
</div>
</div>
<div>
{index === 0 && stagMemory && (
{index === 0 && stagMemory && Object.keys(stagMemory).length === 0 && (
<div>
<span>메모리</span>
<ContainerGraph jsonData={stagMemory} />
</div>
)}
{index === 0 && stagCpu && (
{index === 0 && stagCpu && Object.keys(stagCpu).length === 0 && (
<div>
<span>CPU</span>
<ContainerGraph jsonData={stagCpu} />
</div>
)}
{index === 1 && prodMemory && (
{index === 1 && prodMemory && Object.keys(prodMemory).length === 0 && (
<div>
<span>메모리</span>
<ContainerGraph jsonData={prodMemory} />
</div>
)}
{index === 1 && prodCpu && (
{index === 1 && prodCpu && Object.keys(prodCpu).length === 0 && (
<div>
<span>CPU</span>
<ContainerGraph jsonData={prodCpu} />
Expand Down

0 comments on commit 488ea21

Please sign in to comment.