Browse Source

fix (nc-gui): resolve warnings when opening grid header dropdown

pull/9984/head
Yoones Khoshghadam 6 days ago
parent
commit
4bd1d9891d
  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