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 Oct 31, 2018
1 parent 7eb7de3 commit bd55a62
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 bd55a62

Please sign in to comment.