This commit is contained in:
Chocobozzz
2019-08-13 08:43:37 +02:00
committed by Thomas Citharel
parent ac1dab0fc0
commit a007160480
10 changed files with 85 additions and 93 deletions

View File

@@ -137,9 +137,9 @@ export default class CreateEvent extends Vue {
const obj = {
organizerActorId: this.loggedPerson.id,
beginsOn: this.event.beginsOn.toISOString(),
tags: this.event.tags.map((tag: ITag) => tag.title)
tags: this.event.tags.map((tag: ITag) => tag.title),
};
let res = Object.assign({}, this.event, obj);
const res = Object.assign({}, this.event, obj);
if (this.event.physicalAddress) {
delete this.event.physicalAddress['__typename'];