Skip to content

Commit f665407

Browse files
undefined field hotfix (#109)
1 parent aa7c355 commit f665407

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/components/ControlPlane/FluxList.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -115,7 +115,7 @@ export default function FluxList() {
115115
'True',
116116
statusUpdateTime: item.status.conditions.find((x) => x.type === 'Ready')
117117
?.lastTransitionTime,
118-
revision: shortenCommitHash(item.status.artifact.revision),
118+
revision: shortenCommitHash(item.status.artifact?.revision ?? '-'),
119119
created: timeAgo.format(new Date(item.metadata.creationTimestamp)),
120120
};
121121
}) ?? [];

0 commit comments

Comments
 (0)