fixed auto open concernement on first load

This commit is contained in:
2023-07-07 12:49:32 +02:00
parent 654843bfc9
commit 962335a154
4 changed files with 19 additions and 16 deletions

View File

@@ -42,12 +42,11 @@ export default {
watch: {
concernements_loaded: {
handler (n, o){
console.log(`watch concernements_loaded n: ${n}, opened_concernement:${this.opened_concernement}, id:${this.id}`);
// console.log(`watch concernements_loaded n: ${n}, opened_concernement:${this.opened_concernement}, id:${this.id}`);
// when we arrived directly to the url then all concernement are loaded: do open the concernement
if (!this.opened_concernement) {
this.openCloseConcernements(this.id)
this.openCloseConcernements(parseInt(this.id))
}
},
deep: true
},