Skip to content
Open
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 3 additions & 1 deletion src/components/vendor-picker.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -8,6 +8,7 @@ interface Vendor {
link: string;
from: string;
ships_to: string[];
ships_to_display?: string;
Comment thread
NanashiTheNameless marked this conversation as resolved.
hubs: boolean;
shockers: boolean;
prints3d: boolean;
Expand Down Expand Up @@ -100,6 +101,7 @@ const vendors: Vendor[] = [
link: "./hardware/namelessnanashi",
from: "\ud83c\uddfa\ud83c\uddf8 USA",
ships_to: ["NA"],
ships_to_display: "\ud83c\uddfa\ud83c\uddf8 USA",
hubs: true,
shockers: false,
prints3d: true,
Expand Down Expand Up @@ -201,7 +203,7 @@ function VendorTable({ vendors, region }: { vendors: Vendor[]; region: string })
<Link href={v.link}>{v.name}</Link>
</td>
<td>{v.from}</td>
<td>{v.ships_to.map((r) => regionNames[r]).join(", ")}</td>
<td>{v.ships_to_display ?? v.ships_to.map((r) => regionNames[r]).join(", ")}</td>
Comment thread
NanashiTheNameless marked this conversation as resolved.
Outdated
<td>{checkX(v.hubs)}</td>
<td>{checkX(v.shockers)}</td>
<td>{checkX(v.prints3d)}</td>
Expand Down