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>
Signed-off-by: emirot <emirot.nolan@gmail.com>
  • Loading branch information
2 people authored and emirot committed Jan 27, 2023
1 parent 7f6f7d4 commit 8788879
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 8788879

Please sign in to comment.