Skip to content

Commit

Permalink
Fix not correctly reading data from default textarea
Browse files Browse the repository at this point in the history
  • Loading branch information
chrisvanrun committed Dec 10, 2024
1 parent 98de0ee commit 4ad3b53
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion app/grandchallenge/core/static/js/jsoneditor_widget.mjs
Original file line number Diff line number Diff line change
Expand Up @@ -33,7 +33,7 @@ function initialize_jsoneditor_widget(jsoneditorWidgetID) {

let data;
try {
const data = JSON.parse(jsoneditorWidget.value);
data = JSON.parse(jsoneditorWidget.value);
} catch (err) {
console.warn(
"Could not parse JSON data:",
Expand Down

0 comments on commit 4ad3b53

Please sign in to comment.