Skip to content

Commit

Permalink
fix bug where json editing doesn't save properly for secrets (#5660)
Browse files Browse the repository at this point in the history
  • Loading branch information
madalynrose authored and Brian Kassouf committed Nov 9, 2018
1 parent 043ecac commit 6f4779e
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions ui/app/components/secret-edit.js
Original file line number Diff line number Diff line change
Expand Up @@ -290,6 +290,7 @@ export default Component.extend(FocusOnInsertMixin, {
if (noErrors) {
try {
this.secretData.fromJSONString(val);
set(this.modelForData, 'secretData', this.secretData.toJSON());
} catch (e) {
this.set('error', e.message);
}
Expand Down

0 comments on commit 6f4779e

Please sign in to comment.