Open TimotF opened 10 months ago
It looks like a timing issue in the following function :
rafraichirDonneesAffichees() {
if(this.currentSearch && this.workshopsParDepartement) {
// const searchTypeConfig = searchTypeConfigFor(this.currentSearch.type);
const workshopsMatchantCriteres = this.filtrerWorkshopsMatchantLesCriteres(this.workshopsParDepartement, this.currentSearch);
// const workshopsMatchantCriteres = this.workshopsParDepartement;
this.workshopsParDepartementAffiches = {
derniereMiseAJour: this.workshopsParDepartement.derniereMiseAJour,
codeDepartements: this.workshopsParDepartement.codeDepartements,
workshopsMatchantCriteres: workshopsMatchantCriteres,
workshopsDisponibles: workshopsMatchantCriteres,
};
this.cartesAffichees = this.infiniteScroll.ajouterCartesPaginees(this.workshopsParDepartementAffiches, []);
}
}
this.cartesAffichees
is reactive and will cause the list of workshops to re-render. Needs more investigations
Steps to reproduce :