From b7cb4ffc34982d0272f3e4cbbfb82213cf06a09f Mon Sep 17 00:00:00 2001 From: Benjamin Zengin Date: Tue, 7 Jul 2020 10:39:41 +0200 Subject: [PATCH 1/2] Fixes #119 --- tools/enter-data-helper/src/components/BaseComponents.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tools/enter-data-helper/src/components/BaseComponents.js b/tools/enter-data-helper/src/components/BaseComponents.js index f0d36546..35507d7e 100644 --- a/tools/enter-data-helper/src/components/BaseComponents.js +++ b/tools/enter-data-helper/src/components/BaseComponents.js @@ -150,7 +150,7 @@ class EditFile extends React.Component { try { var data = Object.assign({}, this.state.data); if (this.props.onPreSave) this.props.onPreSave(data); - data = yaml.dump(this.state.data); + data = yaml.dump(data); fs.writeFileSync(this.props.filePath, data); this.setQuitHook(false); this.setState({savedData: this.state.data, dataChanged: false}); From cdb4171c6a5a00da7a123d015270c998e3c50663 Mon Sep 17 00:00:00 2001 From: Benjamin Zengin Date: Tue, 7 Jul 2020 10:40:58 +0200 Subject: [PATCH 2/2] [enter-data-helper] Version up --- tools/enter-data-helper/package.json | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tools/enter-data-helper/package.json b/tools/enter-data-helper/package.json index e551f836..8cb1de55 100644 --- a/tools/enter-data-helper/package.json +++ b/tools/enter-data-helper/package.json @@ -1,7 +1,7 @@ { "name": "enter-data-helper", "author": "CryptoEng", - "version": "0.1.3", + "version": "0.1.4", "private": true, "homepage": "./", "build": {