fix bug where json editing doesn't save properly for secrets (#5660)
This commit is contained in:
parent
69c9cfad1a
commit
b44e88fa99
|
@ -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);
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue