feat(components): align component name casing datemath (#2405)
Reviewed-on: https://kolaente.dev/vikunja/vikunja/pulls/2405 Co-authored-by: Dominik Pschenitschni <mail@celement.de> Co-committed-by: Dominik Pschenitschni <mail@celement.de>
This commit is contained in:

committed by
konrad

parent
5f4c5262d4
commit
e59beb3732
@ -1,11 +1,11 @@
|
||||
<script setup lang="ts">
|
||||
import datemathHelp from './datemathHelp.vue'
|
||||
import DatemathHelp from './DatemathHelp.vue'
|
||||
</script>
|
||||
|
||||
<template>
|
||||
<Story>
|
||||
<Variant title="Default">
|
||||
<datemathHelp />
|
||||
<DatemathHelp />
|
||||
</Variant>
|
||||
</Story>
|
||||
</template>
|
@ -111,7 +111,7 @@ import {parseDateOrString} from '@/helpers/time/parseDateOrString'
|
||||
import Popup from '@/components/misc/popup.vue'
|
||||
import {DATE_RANGES} from '@/components/date/dateRanges'
|
||||
import BaseButton from '@/components/base/BaseButton.vue'
|
||||
import DatemathHelp from '@/components/date/datemathHelp.vue'
|
||||
import DatemathHelp from '@/components/date/DatemathHelp.vue'
|
||||
import {getFlatpickrLanguage} from '@/helpers/flatpickrLanguage'
|
||||
|
||||
const props = defineProps({
|
@ -88,7 +88,7 @@ import {parseDateOrString} from '@/helpers/time/parseDateOrString'
|
||||
import Popup from '@/components/misc/popup.vue'
|
||||
import {DATE_VALUES} from '@/components/date/dateRanges'
|
||||
import BaseButton from '@/components/base/BaseButton.vue'
|
||||
import DatemathHelp from '@/components/date/datemathHelp.vue'
|
||||
import DatemathHelp from '@/components/date/DatemathHelp.vue'
|
||||
import {getFlatpickrLanguage} from '@/helpers/flatpickrLanguage'
|
||||
|
||||
const props = defineProps({
|
@ -18,7 +18,7 @@ export const DATE_RANGES = {
|
||||
|
||||
'thisYear': ['now/y', 'now/y+1y'],
|
||||
'restOfThisYear': ['now', 'now/y+1y'],
|
||||
}
|
||||
} as const
|
||||
|
||||
export const DATE_VALUES = {
|
||||
'now': 'now',
|
||||
@ -43,4 +43,4 @@ export const DATE_VALUES = {
|
||||
|
||||
'startOfThisYear': 'now/y',
|
||||
'endOfThisYear': 'now/y+1y',
|
||||
}
|
||||
} as const
|
||||
|
Reference in New Issue
Block a user