Unterschrift Präsident Bugfix Client: addTimeslots Bugfix Server: rename Teamtags/v1.0.1
{ | { | ||||
"name": "schoolINmotion-client", | "name": "schoolINmotion-client", | ||||
"version": "1.0.0", | |||||
"version": "1.0.1", | |||||
"private": true, | "private": true, | ||||
"scripts": { | "scripts": { | ||||
"serve": "vue-cli-service serve", | "serve": "vue-cli-service serve", |
neu.push(t) | 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 () { | bonus () { | ||||
return this.apparatus.reduce((acc, curr) => { | return this.apparatus.reduce((acc, curr) => { |
{ | { | ||||
"name": "schoolINmotion-server", | "name": "schoolINmotion-server", | ||||
"version": "1.0.0", | |||||
"version": "1.0.1", | |||||
"description": "", | "description": "", | ||||
"author": "", | "author": "", | ||||
"private": true, | "private": true, |
neu = await this.service.update( | neu = await this.service.update( | ||||
client, | client, | ||||
tmp._id, | tmp._id, | ||||
{ $set: { 'timeslots.$[ts].team,name': name }}, | |||||
{ $set: { 'timeslots.$[ts].team.name': name }}, | |||||
{ arrayFilters: [{ 'ts._id': timeslot }]} | { arrayFilters: [{ 'ts._id': timeslot }]} | ||||
); | ); | ||||
} else { | } else { |