Fix: recherche dans arbre de conteneurs

On affiche bien tous les conteneurs intermédiaires
This commit is contained in:
Vincent Vandemeulebrouck 2023-02-10 01:58:20 +01:00
parent b7ea857bb4
commit 0c1b70f3f0

View File

@ -51,8 +51,8 @@ export class RdDBaseActorSheet extends ActorSheet {
} }
this.objetVersConteneur = RdDUtility.buildArbreDeConteneurs(formData.conteneurs, formData.objets); this.objetVersConteneur = RdDUtility.buildArbreDeConteneurs(formData.conteneurs, formData.objets);
formData.conteneurs = RdDUtility.conteneursRacine(formData.conteneurs);
this._appliquerRechercheObjets(formData.objets, formData.conteneurs); this._appliquerRechercheObjets(formData.objets, formData.conteneurs);
formData.conteneurs = RdDUtility.conteneursRacine(formData.conteneurs);
return formData; return formData;
} }