File tree Expand file tree Collapse file tree 1 file changed +2
-3
lines changed
Expand file tree Collapse file tree 1 file changed +2
-3
lines changed Original file line number Diff line number Diff line change @@ -22,11 +22,10 @@ const dropdownPosition = shallowRef<{ top: number; left: number } | null>(null)
2222
2323const menuId = ' download-menu'
2424const menuItems = computed (() => {
25- const items = [{ id: ' package' , labelKey: ' package.download.package ' , icon: ' i-lucide:package' }]
25+ const items = [{ id: ' package' , icon: ' i-lucide:package' }]
2626 if (props .dependencies ?.length ) {
2727 items .push ({
2828 id: ' dependencies' ,
29- labelKey: ' package.download.dependencies' ,
3029 icon: ' i-lucide:list-tree' ,
3130 })
3231 }
@@ -244,7 +243,7 @@ defineOptions({
244243 @mouseenter =" highlightedIndex = index"
245244 >
246245 <span :class =" item.icon" class =" w-4 h-4" aria-hidden =" true" />
247- {{ $t(item.labelKey ) }}
246+ {{ item.id === 'package' ? $t('package.download.package') : $t('package.download.dependencies' ) }}
248247 </li >
249248 </ul >
250249 </Transition >
You can’t perform that action at this time.
0 commit comments