mirror of
https://gitlab.com/Chill-Projet/chill-bundles.git
synced 2025-06-07 18:44:08 +00:00
household filiations: fetch person info when unfolding person node
This commit is contained in:
parent
354c37ade2
commit
b13ac3a919
@ -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
|
||||
|
Loading…
x
Reference in New Issue
Block a user