Issue 2848 - Application Deployment history panel shows incorrect info for recent releases (#2849)

This commit is contained in:
Alexander Matyushentsev 2019-12-09 15:36:39 -08:00 committed by GitHub
parent 9ffba90a73
commit cc2b7b149e
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -67,7 +67,9 @@ export const ApplicationDeploymentHistory = ({
source={{...recentDeployments[index].source, targetRevision: recentDeployments[index].revision}}
/>
{selectedRollbackDeploymentIndex === index ? (
<DataLoader input={recentDeployments[index].source} load={src => services.repos.appDetails(src)}>
<DataLoader
input={{...recentDeployments[index].source, targetRevision: recentDeployments[index].revision}}
load={src => services.repos.appDetails(src)}>
{(details: models.RepoAppDetails) => (
<div>
<ApplicationParameters