SPB Git forge

spb/toveli

Public
14commits 1branches 0releases
1.1 MBsize
maindefault branch
1 h agolast push
TypeScript 50.6% JavaScript 46.1% SQL 2.1% Shell 0.6% CSS 0.5%

cartes : ne pas répéter la région quand elle égale la ville (Laval, Montréal)

Co-Authored-By: Claude Fable 5.1 <noreply@anthropic.com>
Simon-Pierre Boucher committed 1 h ago (Oct 17, 2026) parent edd1b3a

1 changed file +1 −1

modified src/components/listing-card.tsx +1 −1
@@ -39,7 +39,7 @@ export function ListingCardView({ c, compact = false, priority = false }: { c: C
39 39 {!compact && <VerdictPill verdict={c.verdict} ratio={c.ratio} confidence={c.confidence} small />}
40 40 </div>
41 41 <Link href={listingHref(c)} className="block mt-0.5 text-sm font-medium text-ink truncate hover:underline">{c.address ?? "Adresse non précisée"}</Link>
42 − <p className="text-xs text-ink-2 truncate">{c.city}{c.region ? `, ${c.region}` : ""}</p>
42 + <p className="text-xs text-ink-2 truncate">{c.city}{c.region && c.region !== c.city ? `, ${c.region}` : ""}</p>
43 43 <p className="mt-1 text-xs text-ink-3 truncate">{sub}</p>
44 44 </div>
45 45 </article>
46 46