Skip to content

Commit

Permalink
fix(artifacts): enable inline editing of base64 artifacts (#7612) (#7614
Browse files Browse the repository at this point in the history
)
  • Loading branch information
spinnakerbot authored and Travis Tomsu committed Nov 11, 2019
1 parent 579afd5 commit 17d3ea2
Showing 1 changed file with 4 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -63,7 +63,10 @@ class DefaultBase64ArtifactEditor extends React.Component<IArtifactEditorProps,
artifact.reference = encoded;
this.props.onChange(artifact);
}
this.setState({ encodeDecodeError: encodeDecodeError });
this.setState({
decoded: event.target.value,
encodeDecodeError: encodeDecodeError,
});
};

public render() {
Expand Down

0 comments on commit 17d3ea2

Please sign in to comment.