mirror of
https://gitlab.com/Chill-Projet/chill-bundles.git
synced 2025-08-20 22:53:49 +00:00
household filiations: fetch person info when unfolding person node
This commit is contained in:
@@ -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')
|
||||
|
@@ -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
|
||||
|
Reference in New Issue
Block a user