chore: build
This commit is contained in:
@@ -315,9 +315,9 @@ function ConsultationHistorique() {
|
||||
<span className="reward-pool-name">{pool.name}</span>
|
||||
<span className="reward-pool-pts">{pool.points} pts</span>
|
||||
</div>
|
||||
{pool.eligible_configs.length > 0 && (
|
||||
{pool.eligible_configs.some((cfg) => cfg.all_products) && (
|
||||
<div className="reward-eligible-cats">
|
||||
{pool.eligible_configs.map((cfg) => (
|
||||
{pool.eligible_configs.filter((cfg) => cfg.all_products).map((cfg) => (
|
||||
<span key={cfg.category} className="reward-eligible-cat">
|
||||
{cfg.category}{cfg.amount > 0 ? ` — ${cfg.amount}€` : ""}
|
||||
</span>
|
||||
|
||||
Reference in New Issue
Block a user