From 3f883b20ba6a005533b1cc039c1176111130467c Mon Sep 17 00:00:00 2001 From: Raff Viglianti Date: Wed, 6 Nov 2024 09:02:01 -0500 Subject: [PATCH] Fix for #172 --- package.json | 2 +- src/containers/HomePage.js | 2 +- src/utils/version.js | 2 +- 3 files changed, 3 insertions(+), 3 deletions(-) diff --git a/package.json b/package.json index 7ac431e..18bea74 100644 --- a/package.json +++ b/package.json @@ -1,6 +1,6 @@ { "name": "romajs", - "version": "1.1.1", + "version": "1.1.2", "description": "Roma: a TEI customization tool in React+Redux", "main": "index.js", "scripts": { diff --git a/src/containers/HomePage.js b/src/containers/HomePage.js index 922f27d..68fd7d3 100644 --- a/src/containers/HomePage.js +++ b/src/containers/HomePage.js @@ -42,7 +42,7 @@ const mapDispatchToProps = (dispatch) => { dispatch(receiveOdd(e.target.result, lang)) // 1. Convert to JSON via TEIGarage dispatch(setLoadingStatus(i18n('2/3 Importing customization ODD...'))) - dispatch(postToTEIGarage(e.target.result, teigarage.compile_json)).then(() => { + dispatch(postToTEIGarage(e.target.result, teigarage.compile_json(lang))).then(() => { dispatch(setLoadingStatus(i18n('3/3 Importing full specification source...'))) // 2. Get p5subset. dispatch(fetchLocalSource(`${datasource}/p5subset.json`)) diff --git a/src/utils/version.js b/src/utils/version.js index 9f34233..e767a78 100644 --- a/src/utils/version.js +++ b/src/utils/version.js @@ -1,2 +1,2 @@ // Roma version -export default '1.1.1' +export default '1.1.2'