To receive notifications about scheduled maintenance, please subscribe to the mailing-list gitlab-operations@sympa.ethz.ch. You can subscribe to the mailing-list at https://sympa.ethz.ch

Verified Commit 58bc99ca authored by Sandro Lutz's avatar Sandro Lutz
Browse files

Fix event image upload

parent bfa835e4
......@@ -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
......
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