feat(medusa): complete cart create reservation (#7250)
This commit is contained in:
committed by
GitHub
parent
a736e728b8
commit
5228b14ca9
@@ -83,6 +83,11 @@ export function deepFlatMap(
|
||||
}
|
||||
} else {
|
||||
if (Array.isArray(element[currentKey])) {
|
||||
if (element[currentKey].length === 0) {
|
||||
callback({ ...context })
|
||||
continue
|
||||
}
|
||||
|
||||
element[currentKey].forEach((item) => {
|
||||
stack.push({
|
||||
element: item,
|
||||
|
||||
Reference in New Issue
Block a user