Skip to content

Commit 65f1beb

Browse files
glo11372glo82145
andauthored
PWA-3264:PDP breadcrumbs only show one level of product category (#4277)
Co-authored-by: glo82145 <[email protected]>
1 parent 14a19de commit 65f1beb

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

packages/peregrine/lib/talons/ProductFullDetail/useProductFullDetail.js

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -144,8 +144,8 @@ const getBreadcrumbCategoryId = categories => {
144144
const breadcrumbSet = new Set();
145145
categories.forEach(({ breadcrumbs }) => {
146146
// breadcrumbs can be `null`...
147-
(breadcrumbs || []).forEach(({ category_id }) =>
148-
breadcrumbSet.add(category_id)
147+
(breadcrumbs || []).forEach(({ category_uid }) =>
148+
breadcrumbSet.add(category_uid)
149149
);
150150
});
151151

0 commit comments

Comments
 (0)