Affichage des données selon les avis sur la page d'accueil
This commit is contained in:
parent
ea2fe72b13
commit
9d1507846b
@ -77,8 +77,9 @@ export class PageAccueilComponent implements OnInit {
|
|||||||
this.listRate.push(product);
|
this.listRate.push(product);
|
||||||
}
|
}
|
||||||
});
|
});
|
||||||
//this.listData = this.listRate;
|
|
||||||
console.log(this.listRate);
|
console.log(this.listRate);
|
||||||
|
this.listData = [...this.listRate];
|
||||||
|
if(this.listData.length >= 9) this.listData.length = 9;
|
||||||
}
|
}
|
||||||
|
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user