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') {
this.loadData();
} else {
console.log('show centers', this.showCenters);
getCentersForPersonCreation()
.then(params => {
this.config.centers = params.centers;
this.showCenters = params.showCenters;
console.log('show centers inside', this.showCenters);
if (this.showCenters && this.config.centers.length === 1) {
this.person.center = this.config.centers[0];
}