IO-966 Vendor save & favorite fixes.
This commit is contained in:
@@ -20,7 +20,10 @@ const VendorSearchSelect = (
|
||||
const favorites =
|
||||
preferredMake && options
|
||||
? options.filter(
|
||||
(o) => o.favorite.filter((f) => f === preferredMake).length > 0
|
||||
(o) =>
|
||||
o.favorite.filter(
|
||||
(f) => f.toLowerCase() === preferredMake.toLowerCase()
|
||||
).length > 0
|
||||
)
|
||||
: [];
|
||||
|
||||
|
||||
Reference in New Issue
Block a user