Browse Source

feat(gui-v2): include SmartsheetColumnDurationOptions

pull/2975/head
Wing-Kam Wong 2 years ago
parent
commit
da0d261766
  1. 3
      packages/nc-gui-v2/components/smartsheet-column/EditOrAdd.vue

3
packages/nc-gui-v2/components/smartsheet-column/EditOrAdd.vue

@ -1,4 +1,5 @@
<script lang="ts" setup> <script lang="ts" setup>
import { UITypes } from 'nocodb-sdk'
import { computed, inject, useColumnCreateStoreOrThrow, useMetas, watchEffect } from '#imports' import { computed, inject, useColumnCreateStoreOrThrow, useMetas, watchEffect } from '#imports'
import { MetaInj } from '~/context' import { MetaInj } from '~/context'
import { uiTypes } from '~/utils/columnUtils' import { uiTypes } from '~/utils/columnUtils'
@ -84,6 +85,8 @@ watchEffect(() => {
</a-select> </a-select>
</a-form-item> </a-form-item>
<SmartsheetColumnDurationOptions v-if="formState.uidt === UITypes.Duration" />
<div> <div>
<div <div
class="text-xs cursor-pointer text-grey nc-more-options my-2 flex align-center gap-1 justify-end" class="text-xs cursor-pointer text-grey nc-more-options my-2 flex align-center gap-1 justify-end"

Loading…
Cancel
Save