Skip to content

Commit

Permalink
remove string name in object
Browse files Browse the repository at this point in the history
  • Loading branch information
danielruss committed Apr 28, 2022
1 parent 1cb56f1 commit a008c15
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion questionnaire.js
Original file line number Diff line number Diff line change
Expand Up @@ -1099,7 +1099,7 @@ export async function previousClicked(norp, retrieve, store, rootElement) {
console.log("setting... ", moduleParams.questName, "=== ", response.data[moduleParams.questName][norp.form.id])
let formData = {};
formData[moduleParams.questName] = response.data[moduleParams.questName]
delete formData[`${moduleParams.questName}.${norp.form.id}`];
delete formData[moduleParams.questName][norp.form.id];
store(formData);
// response.data[moduleParams.questName][norp.form.id] = ""
// store(response.data)
Expand Down

0 comments on commit a008c15

Please sign in to comment.