mirror of
https://gitlab.com/Chill-Projet/chill-bundles.git
synced 2025-06-12 21:34:25 +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 (this.listenPersonFlag === 'normal') {
|
||||||
if (person.folded === true) {
|
if (person.folded === true) {
|
||||||
//console.log(' @@> expand mode event')
|
//console.log(' @@> expand mode event')
|
||||||
this.$store.commit('unfoldPerson', person)
|
this.$store.commit('unfoldPerson', person);
|
||||||
|
this.$store.dispatch('fetchInfoForPerson', person);
|
||||||
}
|
}
|
||||||
} else {
|
} else {
|
||||||
//console.log(' @@> create link mode event')
|
//console.log(' @@> create link mode event')
|
||||||
|
@ -252,7 +252,6 @@ const store = createStore({
|
|||||||
if (!person.folded) {
|
if (!person.folded) {
|
||||||
return;
|
return;
|
||||||
}
|
}
|
||||||
//console.log('unfoldPerson', person)
|
|
||||||
person.label = person._label
|
person.label = person._label
|
||||||
delete person._label
|
delete person._label
|
||||||
delete person.title
|
delete person.title
|
||||||
|
Loading…
x
Reference in New Issue
Block a user