Skip to content

Commit

Permalink
feat: display auto sync status in application details view (argoproj#…
Browse files Browse the repository at this point in the history
…11200)

Signed-off-by: Alex Eftimie <alex.eftimie@getyourguide.com>
Co-authored-by: Remington Breeze <remington@breeze.software>
  • Loading branch information
2 people authored and ashutosh16 committed Nov 23, 2022
1 parent 6be702c commit 7573135
Showing 1 changed file with 5 additions and 4 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -90,16 +90,17 @@ export const ApplicationStatusPanel = ({application, showOperation, showConditio
</div>
<div className='application-status-panel__item-value__revision'>{syncStatusMessage(application)}</div>
</div>
<div className='application-status-panel__item-name'>
{application.status && application.status.sync && application.status.sync.revision && (
{application.status && application.status.sync && application.status.sync.revision && !application.spec.source.chart && (
<div className='application-status-panel__item-name'>
<RevisionMetadataPanel
appName={application.metadata.name}
appNamespace={application.metadata.namespace}
type={application.spec.source.chart && 'helm'}
revision={application.status.sync.revision}
/>
)}
</div>
</div>
)}
<div className='application-status-panel__item-name'>{application.spec.syncPolicy?.automated ? 'Auto sync is enabled.' : 'Auto sync is not enabled.'}</div>
</React.Fragment>
</div>
{appOperationState && (
Expand Down

0 comments on commit 7573135

Please sign in to comment.