mirror of
https://github.com/vercel/commerce.git
synced 2025-06-19 05:31:22 +00:00
Update normalize.ts
This commit is contained in:
parent
383d5e2697
commit
be9a902a0a
@ -39,7 +39,7 @@ const normalizeProductOption = ({
|
||||
label: value,
|
||||
}
|
||||
if (displayName.match(/colou?r/gi)) {
|
||||
const mapedColor = colorMap[value]
|
||||
const mapedColor = colorMap[value.toLowerCase()]
|
||||
if (mapedColor) {
|
||||
output = {
|
||||
...output,
|
||||
|
Loading…
x
Reference in New Issue
Block a user