Unterschrift Präsident Bugfix Client: addTimeslots Bugfix Server: rename Teamtags/v1.0.1
@@ -1,6 +1,6 @@ | |||
{ | |||
"name": "schoolINmotion-client", | |||
"version": "1.0.0", | |||
"version": "1.0.1", | |||
"private": true, | |||
"scripts": { | |||
"serve": "vue-cli-service serve", |
@@ -726,7 +726,7 @@ export default { | |||
neu.push(t) | |||
} | |||
return neu.filter(n => !this.timeslots.find(o => o.time === n && o.duration === parseInt(this.ts.dialog.duration))).map(t => ({ time: t, duration: this.ts.dialog.duration })) | |||
return neu.filter(n => !this.timeslots.find(o => o.time === n && o.duration === parseInt(this.ts.dialog.duration))).map(t => ({ time: t, duration: parseInt(this.ts.dialog.duration) })) | |||
}, | |||
bonus () { | |||
return this.apparatus.reduce((acc, curr) => { |
@@ -1,6 +1,6 @@ | |||
{ | |||
"name": "schoolINmotion-server", | |||
"version": "1.0.0", | |||
"version": "1.0.1", | |||
"description": "", | |||
"author": "", | |||
"private": true, |
@@ -254,7 +254,7 @@ export class EventResolverM { | |||
neu = await this.service.update( | |||
client, | |||
tmp._id, | |||
{ $set: { 'timeslots.$[ts].team,name': name }}, | |||
{ $set: { 'timeslots.$[ts].team.name': name }}, | |||
{ arrayFilters: [{ 'ts._id': timeslot }]} | |||
); | |||
} else { |