Browse Source

fix(gui-v2): modelValue prop type warning

Signed-off-by: mertmit <mertmit99@gmail.com>
pull/3082/head
mertmit 2 years ago
parent
commit
b17dfdaeaa
  1. 2
      packages/nc-gui-v2/components/cell/MultiSelect.vue
  2. 2
      packages/nc-gui-v2/components/cell/SingleSelect.vue

2
packages/nc-gui-v2/components/cell/MultiSelect.vue

@ -6,7 +6,7 @@ import { ActiveCellInj, ColumnInj } from '~/context'
import MdiCloseCircle from '~icons/mdi/close-circle' import MdiCloseCircle from '~icons/mdi/close-circle'
interface Props { interface Props {
modelValue: string | string[] | undefined modelValue?: string | string[]
} }
const { modelValue } = defineProps<Props>() const { modelValue } = defineProps<Props>()

2
packages/nc-gui-v2/components/cell/SingleSelect.vue

@ -5,7 +5,7 @@ import { computed, inject } from '#imports'
import { ActiveCellInj, ColumnInj } from '~/context' import { ActiveCellInj, ColumnInj } from '~/context'
interface Props { interface Props {
modelValue: string | undefined modelValue?: string
} }
const { modelValue } = defineProps<Props>() const { modelValue } = defineProps<Props>()

Loading…
Cancel
Save