From bd55a623a1f0fe972eaa2e4beb88d9bf9dd65604 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 4b0e684778a3..0c93414bc388 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); }