From b87046dcd6e345f13d5551980a9e42039713e4b6 Mon Sep 17 00:00:00 2001 From: Mathieu Jaumotte Date: Tue, 17 Aug 2021 18:32:43 +0200 Subject: [PATCH] comment all console.log in AccompanyingCourse component --- .../AccompanyingCourse/components/ButtonLocation.vue | 2 +- .../vuejs/AccompanyingCourse/components/Comment.vue | 4 ++-- .../vuejs/AccompanyingCourse/components/Confirm.vue | 4 ++-- .../AccompanyingCourse/components/CourseLocation.vue | 10 +++++----- .../components/PersonsAssociated.vue | 12 ++++++------ .../AccompanyingCourse/components/Resources.vue | 4 ++-- .../public/vuejs/AccompanyingCourse/store/index.js | 6 +++--- 7 files changed, 21 insertions(+), 21 deletions(-) diff --git a/src/Bundle/ChillPersonBundle/Resources/public/vuejs/AccompanyingCourse/components/ButtonLocation.vue b/src/Bundle/ChillPersonBundle/Resources/public/vuejs/AccompanyingCourse/components/ButtonLocation.vue index 4191dcf80..c2f50c489 100644 --- a/src/Bundle/ChillPersonBundle/Resources/public/vuejs/AccompanyingCourse/components/ButtonLocation.vue +++ b/src/Bundle/ChillPersonBundle/Resources/public/vuejs/AccompanyingCourse/components/ButtonLocation.vue @@ -52,7 +52,7 @@ export default { }, methods: { assignAddress() { - console.log('assignAddress id', this.person.current_household_address); + //console.log('assignAddress id', this.person.current_household_address); let payload = { entity: this.context.entity.type, entityId: this.context.entity.id, diff --git a/src/Bundle/ChillPersonBundle/Resources/public/vuejs/AccompanyingCourse/components/Comment.vue b/src/Bundle/ChillPersonBundle/Resources/public/vuejs/AccompanyingCourse/components/Comment.vue index 9a16efd3e..b42fe8453 100644 --- a/src/Bundle/ChillPersonBundle/Resources/public/vuejs/AccompanyingCourse/components/Comment.vue +++ b/src/Bundle/ChillPersonBundle/Resources/public/vuejs/AccompanyingCourse/components/Comment.vue @@ -81,11 +81,11 @@ export default { }, methods: { submitform() { - console.log('submit'); + //console.log('submit'); this.$store.dispatch('postFirstComment', this.formdata); }, removeComment() { - console.log('remove'); + //console.log('remove'); this.$store.dispatch('postFirstComment', {}); } } diff --git a/src/Bundle/ChillPersonBundle/Resources/public/vuejs/AccompanyingCourse/components/Confirm.vue b/src/Bundle/ChillPersonBundle/Resources/public/vuejs/AccompanyingCourse/components/Confirm.vue index 79c1116ad..13752f383 100644 --- a/src/Bundle/ChillPersonBundle/Resources/public/vuejs/AccompanyingCourse/components/Confirm.vue +++ b/src/Bundle/ChillPersonBundle/Resources/public/vuejs/AccompanyingCourse/components/Confirm.vue @@ -65,9 +65,9 @@ export default { }, methods: { confirmCourse() { - console.log('@@ CLICK confirmCourse'); + //console.log('@@ CLICK confirmCourse'); this.$store.dispatch('confirmAccompanyingCourse'); - console.log('confirm last'); + //console.log('confirm last'); } } } diff --git a/src/Bundle/ChillPersonBundle/Resources/public/vuejs/AccompanyingCourse/components/CourseLocation.vue b/src/Bundle/ChillPersonBundle/Resources/public/vuejs/AccompanyingCourse/components/CourseLocation.vue index b04cd5eb7..b9a4e111d 100644 --- a/src/Bundle/ChillPersonBundle/Resources/public/vuejs/AccompanyingCourse/components/CourseLocation.vue +++ b/src/Bundle/ChillPersonBundle/Resources/public/vuejs/AccompanyingCourse/components/CourseLocation.vue @@ -117,7 +117,7 @@ export default { this.$store.commit('setAddressContext', context); }, removeAddress() { - console.log('remove address'); + //console.log('remove address'); let payload = { entity: this.context.entity.type, entityId: this.context.entity.id, @@ -129,7 +129,7 @@ export default { return this.$refs.addAddress.errorMsg; }, submitTemporaryAddress() { - console.log('@@@ click on Submit Temporary Address Button'); + //console.log('@@@ click on Submit Temporary Address Button'); let payload = this.$refs.addAddress.submitNewAddress(); payload['locationStatusTo'] = 'address'; // <== temporary, not none, not person this.$store.dispatch('updateLocation', payload); @@ -139,9 +139,9 @@ export default { mounted() { this.initAddressContext(); - console.log('ac.locationStatus', this.accompanyingCourse.locationStatus); - console.log('ac.location (temporary location)', this.accompanyingCourse.location); - console.log('ac.personLocation', this.accompanyingCourse.personLocation); + //console.log('ac.locationStatus', this.accompanyingCourse.locationStatus); + //console.log('ac.location (temporary location)', this.accompanyingCourse.location); + //console.log('ac.personLocation', this.accompanyingCourse.personLocation); } } diff --git a/src/Bundle/ChillPersonBundle/Resources/public/vuejs/AccompanyingCourse/components/PersonsAssociated.vue b/src/Bundle/ChillPersonBundle/Resources/public/vuejs/AccompanyingCourse/components/PersonsAssociated.vue index 0155d89dc..67b75c33e 100644 --- a/src/Bundle/ChillPersonBundle/Resources/public/vuejs/AccompanyingCourse/components/PersonsAssociated.vue +++ b/src/Bundle/ChillPersonBundle/Resources/public/vuejs/AccompanyingCourse/components/PersonsAssociated.vue @@ -1,11 +1,11 @@