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 6 days 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<{
style?: StyleValue
disabled?: boolean | number
}>()
defineOptions({
@ -23,7 +24,7 @@ defineOptions({
<template>
<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">
<slot />
</div>

Loading…
Cancel
Save