Verified Commit 218091a3 authored by Sandro Lutz's avatar Sandro Lutz
Browse files

Fix event image upload

parent 11d62c0a
......@@ -64,7 +64,7 @@ export default class newEvent extends EditView {
images[`img_${key}`] = this.form.data[`new_${key}`];
delete this.form.data[`new_${key}`];
}
if (this.form.data[`img_${key}`]) delete this.form.data[`img_${key}`];
if (this.form.data[`img_${key}`] !== undefined) delete this.form.data[`img_${key}`];
});
// Merge Options for additional fields
......
Supports Markdown
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