Skip to content

Commit

Permalink
[TRA-14910] Traduction des types de contenants pour les DASRI (Bsdasr…
Browse files Browse the repository at this point in the history
…iWasteSummary) (#3891)
  • Loading branch information
GaelFerrand authored Jan 9, 2025
1 parent 2e249cb commit 464d4e4
Showing 1 changed file with 3 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,7 @@ import {
DataListTerm,
DataListDescription
} from "../../../../../common/components";
import { verbosePackagings } from "../../../../detail/bsdasri/BsdasriDetailContent";

interface BsdasriWasteSummaryProps {
bsdasri: Bsdasri;
Expand Down Expand Up @@ -50,7 +51,8 @@ export function BsdasriWasteSummary({ bsdasri }: BsdasriWasteSummaryProps) {
<>
{packagings.map((packaging, idx) => (
<div key={idx}>
{packaging.quantity} {packaging.other} {packaging.type} (
{packaging.quantity} {verbosePackagings[packaging.type]}
{!!packaging.other && `: ${packaging.other}`} (
{packaging.volume} litre(s))
</div>
))}
Expand Down

0 comments on commit 464d4e4

Please sign in to comment.