Browse Source

fix/solved merge conflicts

pull/3021/head
Muhammed Mustafa 2 years ago
parent
commit
40b2235656
  1. 3
      packages/nc-gui-v2/components/smartsheet-header/Cell.vue
  2. 4
      packages/nc-gui-v2/components/smartsheet-header/VirtualCell.vue

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

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

4
packages/nc-gui-v2/components/smartsheet-header/VirtualCell.vue

@ -8,8 +8,10 @@ import { useMetas } from '~/composables'
import { ColumnInj, MetaInj } from '~/context'
import { provide, useProvideColumnCreateStore } from '#imports'
const props = defineProps<{ column: ColumnType & { meta: any } }>()
const props = defineProps<{ column: ColumnType & { meta: any }; hideMenu?: boolean }>()
const column = toRef(props, 'column')
const hideMenu = toRef(props, 'hideMenu')
provide(ColumnInj, column)
const { metas } = useMetas()
const meta = inject(MetaInj)

Loading…
Cancel
Save