chore(ui): replace em-dash placeholders with hyphen in NPC readouts
The 'Goods' readout cell rendered an em-dash when the NPC was not a vendor; dash-sanitize gate requires a plain hyphen on user-facing surfaces.
This commit is contained in:
parent
6959a5ca0d
commit
3e9d54486f
2 changed files with 2 additions and 2 deletions
|
|
@ -27,7 +27,7 @@ export function NpcCard({ npc }: NpcCardProps) {
|
||||||
const readoutCells: ReadoutCell[] = [
|
const readoutCells: ReadoutCell[] = [
|
||||||
{ label: "Faction", value: factionName ?? "Unaffiliated" },
|
{ label: "Faction", value: factionName ?? "Unaffiliated" },
|
||||||
{ label: "Station", value: locationName ?? "Unknown" },
|
{ label: "Station", value: locationName ?? "Unknown" },
|
||||||
{ label: "Goods", value: vendorEnabled ? goodsCount.toString() : "—", mono: true },
|
{ label: "Goods", value: vendorEnabled ? goodsCount.toString() : "-", mono: true },
|
||||||
];
|
];
|
||||||
|
|
||||||
return (
|
return (
|
||||||
|
|
|
||||||
|
|
@ -83,7 +83,7 @@ export function NpcProfile({ npc, listings, employmentSlot }: NpcProfileProps) {
|
||||||
const heroCells: ReadoutCell[] = [
|
const heroCells: ReadoutCell[] = [
|
||||||
{ label: "Faction", value: faction?.name ?? "Unaffiliated" },
|
{ label: "Faction", value: faction?.name ?? "Unaffiliated" },
|
||||||
{ label: "Station", value: location?.name ?? "Unknown" },
|
{ label: "Station", value: location?.name ?? "Unknown" },
|
||||||
{ label: "Goods", value: vendorEnabled ? sellableAssets.length.toString() : "—", mono: true },
|
{ label: "Goods", value: vendorEnabled ? sellableAssets.length.toString() : "-", mono: true },
|
||||||
{ label: "Listings", value: listings.length.toString(), mono: true },
|
{ label: "Listings", value: listings.length.toString(), mono: true },
|
||||||
];
|
];
|
||||||
|
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue