Browse Source

chore(gui-v2): make `required` prop optional in Cell.vue

pull/3094/head
braks 2 years ago
parent
commit
3ea6f02d56
  1. 2
      packages/nc-gui-v2/components/smartsheet-header/Cell.vue

2
packages/nc-gui-v2/components/smartsheet-header/Cell.vue

@ -5,7 +5,7 @@ import { inject, toRef } from 'vue'
import { ColumnInj, IsFormInj, MetaInj } from '~/context'
import { useProvideColumnCreateStore } from '#imports'
const props = defineProps<{ column: ColumnType & { meta: any }; required: boolean; hideMenu?: boolean }>()
const props = defineProps<{ column: ColumnType & { meta: any }; required?: boolean; hideMenu?: boolean }>()
const hideMenu = toRef(props, 'hideMenu')

Loading…
Cancel
Save