Skip to content
This repository was archived by the owner on May 30, 2024. It is now read-only.

Commit 7d3887f

Browse files
author
Noah Hanjun Lee
authored
Fix the condition of the foldable status in UI(#173)
1 parent d0bbec1 commit 7d3887f

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

ui/src/components/DeployConfirm.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -49,7 +49,7 @@ export default function DeployConfirm(props: DeployConfirmProps): JSX.Element {
4949
{...layout}
5050
label="Status"
5151
>
52-
{(props.deployment.statuses)?
52+
{(props.deployment.statuses && props.deployment.statuses.length > 0)?
5353
<Collapse ghost>
5454
<Panel
5555
key={1}

0 commit comments

Comments
 (0)