Skip to content

Commit

Permalink
added comments to reference issues in lib/KBreadcrumbs.vue
Browse files Browse the repository at this point in the history
  • Loading branch information
shruti862 committed Dec 9, 2024
1 parent cf05645 commit cd730f1
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion lib/KBreadcrumbs.vue
Original file line number Diff line number Diff line change
Expand Up @@ -22,6 +22,7 @@
</template>

<!-- Render the separator between items -->
<!-- issue :: but right now it is not placing separators between items of list -->
<template #divider>
<span class="breadcrumbs-divider">›</span>
</template>
Expand All @@ -34,12 +35,13 @@
appearance="raised-button"
>
<template #menu>
<!-- issue :: dropdown menu shows only text of the overflowItems but not the link , I don't know whether i am doing the right way to reference link or not -->
<KDropdownMenu
:options="overflowItems
.filter(item => item.type !== 'separator') // Filter out separators
.map(item => ({
label: item.text, // Display 'text' in the menu
link: item.link ? item.link.path : null // Use 'path' for the actual hyperlink
link: item.link ? item.link : null
}))"
/>
</template>
Expand Down

0 comments on commit cd730f1

Please sign in to comment.