Commit ec07034b authored by Emmanuel Raviart's avatar Emmanuel Raviart
Browse files

Follow "organe.organeParent".

parent 1750e8ee
......@@ -25,6 +25,7 @@ export const allFollows = [
"document.dossier",
"dossier.initiateur.acteurs.acteur",
"dossier.initiateur.organe",
"organe.organeParent",
"reunion.demandeurs.acteurs.acteur",
"reunion.demandeurs.organe.organe",
"reunion.organeReuni",
......@@ -189,6 +190,10 @@ export class DataGetter {
addOrgane(organe: Organe): void {
this.organeByUid[organe.uid] = organe
if (this.follow.has("organe.organeParent") && organe.organeParentRef !== undefined) {
this.requestOrgane(organe.organeParentRef)
}
// TODO
}
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment