Skip to content

Commit

Permalink
fix(kubernetes): fix discrepancy between orca deploy stage model and …
Browse files Browse the repository at this point in the history
…artifacts rewrite stage model
  • Loading branch information
maggieneterval committed Apr 24, 2019
1 parent 90fb96c commit cd8780c
Showing 1 changed file with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -91,8 +91,8 @@ export class KubernetesV2DeployManifestConfigCtrl implements IController {
public onRequiredArtifactsChanged = (bindings: IManifestBindArtifact[]) => {
this.$scope.$applyAsync(() => {
this.$scope.bindings = bindings;
this.$scope.stage.requiredArtifactIds = bindings.filter((b: IManifestBindArtifact) => b.expectedArtifactId);
this.$scope.stage.requiredArtifacts = bindings.filter((b: IManifestBindArtifact) => b.artifact);
this.$scope.stage.requiredArtifactIds = bindings.filter(b => b.expectedArtifactId).map(b => b.expectedArtifactId);
this.$scope.stage.requiredArtifacts = bindings.filter(b => b.artifact);
});
};

Expand Down

0 comments on commit cd8780c

Please sign in to comment.