Skip to content

Commit ce2d29e

Browse files
committed
Fix erroneous journey check
1 parent af8d4a6 commit ce2d29e

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/presenters/breadcrumbPresenter.js

+1-1
Original file line numberDiff line numberDiff line change
@@ -19,7 +19,7 @@ export default class BreadcrumbPresenter {
1919
.filter(
2020
collection =>
2121
!this.collectionsForBreadcrumbs.includes(collection) &&
22-
!this.object.journeyId === collection.journeyId
22+
this.object.journeyId !== collection.id
2323
)
2424
.sort((a, b) => b.ranking - a.ranking)[0];
2525
}

0 commit comments

Comments
 (0)