diff --git a/packages/design-system/src/components/N8nMenuItem/MenuItem.vue b/packages/design-system/src/components/N8nMenuItem/MenuItem.vue index 8922525f736bb..8ef00aad1f60c 100644 --- a/packages/design-system/src/components/N8nMenuItem/MenuItem.vue +++ b/packages/design-system/src/components/N8nMenuItem/MenuItem.vue @@ -151,12 +151,12 @@ const isItemActive = (item: IMenuItem): boolean => { }; const getInitials = (label: string): string => { - const words = label.split(' '); + const words = label.split(' ').map((word) => [...new Intl.Segmenter().segment(word)]); if (words.length === 1) { - return words[0].substring(0, 2); + return words[0][0].segment + words[0][1].segment; } else { - return words[0].charAt(0) + words[1].charAt(0); + return words[0][0].segment + words[1][0].segment; } };