From b17dfdaeaa1fc86e4a6c601ca13c4f9d9136fa6a Mon Sep 17 00:00:00 2001 From: mertmit Date: Thu, 11 Aug 2022 21:04:18 +0300 Subject: [PATCH] fix(gui-v2): modelValue prop type warning Signed-off-by: mertmit --- packages/nc-gui-v2/components/cell/MultiSelect.vue | 2 +- packages/nc-gui-v2/components/cell/SingleSelect.vue | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/packages/nc-gui-v2/components/cell/MultiSelect.vue b/packages/nc-gui-v2/components/cell/MultiSelect.vue index 512ba97d9d..1941137130 100644 --- a/packages/nc-gui-v2/components/cell/MultiSelect.vue +++ b/packages/nc-gui-v2/components/cell/MultiSelect.vue @@ -6,7 +6,7 @@ import { ActiveCellInj, ColumnInj } from '~/context' import MdiCloseCircle from '~icons/mdi/close-circle' interface Props { - modelValue: string | string[] | undefined + modelValue?: string | string[] } const { modelValue } = defineProps() diff --git a/packages/nc-gui-v2/components/cell/SingleSelect.vue b/packages/nc-gui-v2/components/cell/SingleSelect.vue index 6439b061f0..0df8af6b1e 100644 --- a/packages/nc-gui-v2/components/cell/SingleSelect.vue +++ b/packages/nc-gui-v2/components/cell/SingleSelect.vue @@ -5,7 +5,7 @@ import { computed, inject } from '#imports' import { ActiveCellInj, ColumnInj } from '~/context' interface Props { - modelValue: string | undefined + modelValue?: string } const { modelValue } = defineProps()