Browse Source

Merge pull request #9984 from nocodb/nc-fix/grid-header-dropdown-warnings

fix (nc-gui): resolve warnings when opening grid header dropdown
pull/9160/head
Ramesh Mane 1 week ago committed by GitHub
parent
commit
f221c8bbbd
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
  1. 3
      packages/nc-gui/components/nc/MenuItem.vue

3
packages/nc-gui/components/nc/MenuItem.vue

@ -14,6 +14,7 @@ import type { StyleValue } from '@vue/runtime-dom'
defineProps<{ defineProps<{
style?: StyleValue style?: StyleValue
disabled?: boolean | number
}>() }>()
defineOptions({ defineOptions({
@ -23,7 +24,7 @@ defineOptions({
<template> <template>
<div class="w-full" :style="style"> <div class="w-full" :style="style">
<a-menu-item v-bind="$attrs" class="nc-menu-item"> <a-menu-item v-bind="$attrs" :disabled="Boolean(disabled)" class="nc-menu-item">
<div class="nc-menu-item-inner"> <div class="nc-menu-item-inner">
<slot /> <slot />
</div> </div>

Loading…
Cancel
Save