Commit 2d0506d6 authored by Janne Koschinski's avatar Janne Koschinski

Minor UI fix

parent 801f76d0
......@@ -30,8 +30,10 @@ const currentState = () => {
const formDataToJson = (data) => {
const result = {};
for (let key of data.keys()) {
result[key] = data.getAll(key);
if (data != null) {
for (let key of data.keys()) {
result[key] = data.getAll(key);
}
}
return result;
};
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment