Affichage des données selon les avis sur la page d'accueil

This commit is contained in:
Julian30520 2022-01-11 10:40:48 +01:00
parent ea2fe72b13
commit 9d1507846b

View File

@ -77,8 +77,9 @@ export class PageAccueilComponent implements OnInit {
this.listRate.push(product);
}
});
//this.listData = this.listRate;
console.log(this.listRate);
this.listData = [...this.listRate];
if(this.listData.length >= 9) this.listData.length = 9;
}
}