mirror of
https://github.com/argoproj/argo-cd
synced 2026-05-05 23:58:21 +00:00
Fix UI crash on application list page (#2490)
This commit is contained in:
parent
803b346caf
commit
8e60bdfe59
1 changed files with 1 additions and 1 deletions
|
|
@ -47,7 +47,7 @@ export const ApplicationsTable = (props: {
|
|||
{shortRepo(app.spec.source.repoURL)}/{app.spec.source.path}
|
||||
<div className='applications-table__meta'>
|
||||
<span>{app.spec.source.targetRevision || 'HEAD'}</span>
|
||||
{Object.keys(app.metadata.labels).map((label) => <span key={label}>{`${label}=${app.metadata.labels[label]}`}</span>)}
|
||||
{Object.keys(app.metadata.labels || {}).map((label) => <span key={label}>{`${label}=${app.metadata.labels[label]}`}</span>)}
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
|
|
|
|||
Loading…
Reference in a new issue