Skip to content
Snippets Groups Projects
Commit 1a0c09fd authored by Hangzhi Yu's avatar Hangzhi Yu
Browse files

Fix pass through of group ids in custom event dialog

parent d7b88a86
No related branches found
No related tags found
1 merge request!1314Resolve "Allow for creation of simple events"
......@@ -66,9 +66,7 @@ export default {
return {
id: this.selectedEvent.meta.id,
persons: this.selectedEvent.meta.persons.map((p) => p.id.toString()),
groups: this.selectedEvent.meta.groups.map((room) =>
room.groups.toString()
),
groups: this.selectedEvent.meta.groups.map((g) => g.id.toString()),
title: this.selectedEvent.name,
description: this.selectedEvent.meta.description,
location: this.selectedEvent.location,
......
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