Skip to content

Commit

Permalink
Merge pull request #7 from alexmt/306-allow-redeploy-latest
Browse files Browse the repository at this point in the history
Issue #306 - UI should allow redeploying most recent successful deployment from history
  • Loading branch information
alexmt authored Jul 10, 2018
2 parents a30aff9 + ceb838d commit 4330130
Showing 1 changed file with 3 additions and 3 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -42,12 +42,12 @@ export const ApplicationDeploymentHistory = ({
<div className='columns small-10'>
{info.revision}
<div className='application-deployment-history__item-menu'>
{info.nextDeployedAt && <DropDownMenu anchor={() => <button className='argo-button argo-button--light argo-button--lg argo-button--short'>
<DropDownMenu anchor={() => <button className='argo-button argo-button--light argo-button--lg argo-button--short'>
<i className='fa fa-ellipsis-v'/>
</button>} items={[{
title: 'Rollback',
title: info.nextDeployedAt && 'Rollback' || 'Redeploy',
action: () => rollbackApp(info),
}]}/>}
}]}/>
</div>
</div>
</div>
Expand Down

0 comments on commit 4330130

Please sign in to comment.