household filiations: fetch person info when unfolding person node

This commit is contained in:
nobohan 2022-05-17 17:24:17 +02:00
parent 354c37ade2
commit b13ac3a919
2 changed files with 2 additions and 2 deletions

View File

@ -305,7 +305,8 @@ export default {
if (this.listenPersonFlag === 'normal') {
if (person.folded === true) {
//console.log(' @@> expand mode event')
this.$store.commit('unfoldPerson', person)
this.$store.commit('unfoldPerson', person);
this.$store.dispatch('fetchInfoForPerson', person);
}
} else {
//console.log(' @@> create link mode event')

View File

@ -252,7 +252,6 @@ const store = createStore({
if (!person.folded) {
return;
}
//console.log('unfoldPerson', person)
person.label = person._label
delete person._label
delete person.title