DX: remove console comment in file Person.vue

This commit is contained in:
Julien Fastré 2022-12-23 11:30:40 +01:00
parent 0fec753118
commit 4da9b6587d
Signed by: julienfastre
GPG Key ID: BDE2190974723FCB

View File

@ -329,11 +329,12 @@ export default {
if (this.action !== 'create') { if (this.action !== 'create') {
this.loadData(); this.loadData();
} else { } else {
console.log('show centers', this.showCenters);
getCentersForPersonCreation() getCentersForPersonCreation()
.then(params => { .then(params => {
this.config.centers = params.centers; this.config.centers = params.centers;
this.showCenters = params.showCenters; this.showCenters = params.showCenters;
console.log('show centers inside', this.showCenters);
if (this.showCenters && this.config.centers.length === 1) { if (this.showCenters && this.config.centers.length === 1) {
this.person.center = this.config.centers[0]; this.person.center = this.config.centers[0];
} }