Skip to content

Commit

Permalink
fix(artifacts): only remove deleted expected artifacts from stages on…
Browse files Browse the repository at this point in the history
… trigger update (#8071) (#8072)

Co-authored-by: Maggie Neterval <mneterval@google.com>
  • Loading branch information
spinnakerbot and maggieneterval committed Mar 23, 2020
1 parent b5274e5 commit 7c228ce
Showing 1 changed file with 1 addition and 1 deletion.
Expand Up @@ -87,8 +87,8 @@ export function TriggersPageContent(props: ITriggersPageContentProps) {
findIndex(newExpectedArtifacts, e => e.id === expectedArtifact.id),
1,
);
ArtifactReferenceService.removeReferenceFromStages(expectedArtifact.id, pipelineParam.stages);
}
ArtifactReferenceService.removeReferenceFromStages(expectedArtifact.id, pipelineParam.stages);
});
updateExpectedArtifacts(newExpectedArtifacts);
}
Expand Down

0 comments on commit 7c228ce

Please sign in to comment.