Browse Source

refactor(gui-v2): rename durationHelper -> durationUtils

pull/2975/head
Wing-Kam Wong 2 years ago
parent
commit
aedc06dd61
  1. 2
      packages/nc-gui-v2/components/cell/Duration.vue
  2. 0
      packages/nc-gui-v2/utils/durationUtils.ts
  3. 2
      packages/nc-gui-v2/utils/index.ts

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

@ -1,7 +1,7 @@
<script setup lang="ts">
import { computed, inject, ref } from '#imports'
import { ColumnInj } from '~/context'
import { convertDurationToSeconds, convertMS2Duration, durationOptions } from '~/utils/durationHelper'
import { convertDurationToSeconds, convertMS2Duration, durationOptions } from '~/utils/durationUtils'
interface Props {
modelValue: number | string

0
packages/nc-gui-v2/utils/durationHelper.ts → packages/nc-gui-v2/utils/durationUtils.ts

2
packages/nc-gui-v2/utils/index.ts

@ -1,7 +1,7 @@
export * from './colorsUtils'
export * from './dateTimeUtils'
export * from './deepCompare'
export * from './durationHelper'
export * from './durationUtils'
export * from './errorUtils'
export * from './fileUtils'
export * from './filterUtils'

Loading…
Cancel
Save