Skip to content

Commit

Permalink
Shows correct revision metadata for. Closes argoproj#2028 (argoproj#2029
Browse files Browse the repository at this point in the history
)
  • Loading branch information
alexec authored Jul 26, 2019
1 parent 47e5285 commit 5e4f327
Showing 1 changed file with 3 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -68,7 +68,9 @@ export const ApplicationStatusPanel = ({application, showOperation, showConditio
</div>
<div className='application-status-panel__item-name'>{syncStatusMessage(application)}</div>
<div className='application-status-panel__item-name'>
<RevisionMetadataPanel applicationName={application.metadata.name} revision={application.spec.source.targetRevision}/>
{ application.status && application.status.sync && (
<RevisionMetadataPanel applicationName={application.metadata.name} revision={application.status.sync.revision}/>
)}
</div>
</div>
{appOperationState && (
Expand Down

0 comments on commit 5e4f327

Please sign in to comment.