Skip to content

Commit 70bacca

Browse files
committed
Setter analyticstitle for breadcrumbs
1 parent b598f07 commit 70bacca

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

src/utils/decorator-utils.ts

+2-1
Original file line numberDiff line numberDiff line change
@@ -92,8 +92,9 @@ export const getDecoratorParams = (content: ContentProps): DecoratorParams => {
9292
...(decoratorLanguage && { language: decoratorLanguage }),
9393
breadcrumbs:
9494
breadcrumbs?.map((crumb) => ({
95-
handleInApp: true,
9695
...crumb,
96+
handleInApp: true,
97+
analyticsTitle: crumb.title,
9798
})) || [],
9899
availableLanguages: getDecoratorLanguagesParam(
99100
getContentLanguages(content),

0 commit comments

Comments
 (0)