wip(freight): migration 0017 + model/column-list groundwork for add-freight-templates

This commit is contained in:
Chengdong Zhang
2026-09-23 17:39:45 +08:00
parent a83e857bdf
commit 5b426486ac
105 changed files with 6193 additions and 1566 deletions
+3 -1
View File
@@ -10,6 +10,8 @@ export function lowestSku(product: Product): Sku | null {
active.reduce<Sku | null>(
(low, sku) => (low === null || sku.price_minor < low.price_minor ? sku : low),
null,
) ?? (product.skus ?? []).find((sku) => sku.active) ?? null
) ??
(product.skus ?? []).find((sku) => sku.active) ??
null
);
}