Skip to content

Commit

Permalink
fix(artifacts): Fix fetching helm artifact versions (#6995)
Browse files Browse the repository at this point in the history
  • Loading branch information
eromanova authored and ezimanyi committed May 15, 2019
1 parent dfc84b1 commit 0ed0ab6
Showing 1 changed file with 3 additions and 5 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -81,11 +81,9 @@ class HelmEditor extends React.Component<IArtifactEditorProps, IHelmArtifactEdit
};

private onNameChange = () => {
ArtifactService.getArtifactVersions(TYPE, this.props.artifact.artifactAccount, this.props.artifact.name).then(
versions => {
this.setState({ versions });
},
);
ArtifactService.getArtifactVersions(TYPE, this.props.account.name, this.props.artifact.name).then(versions => {
this.setState({ versions });
});
};
}

Expand Down

0 comments on commit 0ed0ab6

Please sign in to comment.