From b44e88fa991fa81c2b3c0cd175246c82215d4fcb Mon Sep 17 00:00:00 2001 From: madalynrose Date: Wed, 31 Oct 2018 18:37:23 -0400 Subject: [PATCH] fix bug where json editing doesn't save properly for secrets (#5660) --- ui/app/components/secret-edit.js | 1 + 1 file changed, 1 insertion(+) diff --git a/ui/app/components/secret-edit.js b/ui/app/components/secret-edit.js index 4b0e68477..0c93414bc 100644 --- a/ui/app/components/secret-edit.js +++ b/ui/app/components/secret-edit.js @@ -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); }