From 66b917c02b9a2d44ff448ee908eefd3ad0da45a8 Mon Sep 17 00:00:00 2001 From: Madalyn Parker Date: Wed, 31 Oct 2018 18:24:36 -0400 Subject: [PATCH] save secretData for json on both model and component --- 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); }