Skip to content
Snippets Groups Projects
Commit 672dcdd7 authored by Hermann's avatar Hermann
Browse files

load event view after edit is finished

parent ad5b30d8
No related branches found
No related tags found
No related merge requests found
......@@ -9,7 +9,7 @@ export default class EventModal {
view() {
if (this.edit) {
return m(newEvent);
return m(newEvent, { onfinish: () => { this.edit = false; m.redraw(); } });
}
return m(viewEvent, { onEdit: () => { this.edit = true; } });
}
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment