Skip to content
This repository was archived by the owner on Jul 27, 2019. It is now read-only.

Issue #306 - UI should allow redeploying most recent successful deployment from history #7

Merged
merged 1 commit into from
Jul 10, 2018
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
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