mirror of
https://github.com/vercel/commerce.git
synced 2025-07-23 04:36:49 +00:00
fix product option color check
This commit is contained in:
@@ -38,7 +38,7 @@ const normalizeProductOption = ({
|
||||
label: value.name,
|
||||
id: value?.id || id,
|
||||
}
|
||||
if (displayName === 'Color') {
|
||||
if (displayName.match(/colou?r/gi)) {
|
||||
output = {
|
||||
...output,
|
||||
hexColors: [value.name],
|
||||
|
Reference in New Issue
Block a user