Skip to content

Commit 44fa078

Browse files
Removed usage of template json since not needed
Signed-off-by: Natalia Luzuriaga <natalia.luzuriaga@cms.hhs.gov>
1 parent 59e98d4 commit 44fa078

2 files changed

Lines changed: 2 additions & 32 deletions

File tree

js/formDataToJson.js

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -35,10 +35,11 @@ function getSelectedOptions(options) {
3535
return selectedOptions;
3636
}
3737

38-
// Populates fields with form data and follows field order in schema
38+
// Populates fields with form data
3939
function populateObject(data, schema) {
4040
let reorderedObject = {}
4141

42+
// Array of fields following proper order of fields in schema
4243
const fields = Object.keys(schema.properties.items);
4344

4445
for (const key of fields) {

schemas/template-code.json

Lines changed: 0 additions & 31 deletions
This file was deleted.

0 commit comments

Comments
 (0)