Skip to content

Commit

Permalink
wip
Browse files Browse the repository at this point in the history
  • Loading branch information
AtomicSponge committed Feb 2, 2025
1 parent cf6f8b4 commit 19421ae
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions renderer/components/MenuBuilder.vue
Original file line number Diff line number Diff line change
Expand Up @@ -25,10 +25,12 @@ const _moveMenuSelect = ref()
*/
const props = defineProps<{ menuId:number }>()

/** Computed menu list for a submenu item */
const _computedMenuListA = computed(() => {
return _menuList.value.filter((item:any) => item.id === props.menuId)
})

/** Computed menu list for other items */
const _computedMenuListB = computed(() => {
return _menuList.value.filter((item:any) => item.id !== props.menuId)
})
Expand Down

0 comments on commit 19421ae

Please sign in to comment.