visgraph, fix details

This commit is contained in:
2021-11-05 17:26:20 +01:00
parent b904e33d9b
commit f92b4b0ea3
3 changed files with 7 additions and 13 deletions

View File

@@ -106,7 +106,7 @@ const store = createStore({
}
})
//console.log('array', array.map(item => item.person.id))
console.log('get FoldedPersons', withFolded.map(f => f.id))
console.log('get withFoldedPersons', withFolded.map(f => f.id))
return withFolded
},
@@ -223,6 +223,9 @@ const store = createStore({
* @param person
*/
fetchInfoForPerson({ dispatch }, person) {
// TODO enfants hors ménages
// example: household 61
// console.log(person.text, 'household', person.current_household_id)
if (null !== person.current_household_id) {
dispatch('fetchHouseholdForPerson', person)
}