mirror of
https://gitlab.com/Chill-Projet/chill-bundles.git
synced 2025-06-12 13:24:25 +00:00
Accompanying course: remove unnecessary console.log
This commit is contained in:
parent
7895699ef3
commit
d5c1591205
@ -97,16 +97,10 @@ export default {
|
|||||||
...mapGetters(['isJobValid', 'usersSuggestedFilteredByJob']),
|
...mapGetters(['isJobValid', 'usersSuggestedFilteredByJob']),
|
||||||
users: function () {
|
users: function () {
|
||||||
let users = this.$store.getters.usersFilteredByJob;
|
let users = this.$store.getters.usersFilteredByJob;
|
||||||
|
|
||||||
console.log('users filtered by job', users);
|
|
||||||
|
|
||||||
// ensure that the selected user is in the list. add it if necessary
|
// ensure that the selected user is in the list. add it if necessary
|
||||||
if (this.$store.state.accompanyingCourse.user !== null && users.find(u => this.$store.state.accompanyingCourse.user.id === u.id) === undefined) {
|
if (this.$store.state.accompanyingCourse.user !== null && users.find(u => this.$store.state.accompanyingCourse.user.id === u.id) === undefined) {
|
||||||
console.log('add user to users');
|
|
||||||
users.push(this.$store.state.accompanyingCourse.user);
|
users.push(this.$store.state.accompanyingCourse.user);
|
||||||
}
|
}
|
||||||
|
|
||||||
console.log('users to return', users);
|
|
||||||
return users;
|
return users;
|
||||||
},
|
},
|
||||||
valueJob: {
|
valueJob: {
|
||||||
|
Loading…
x
Reference in New Issue
Block a user