Skip to content

Commit d5ab511

Browse files
sunkupraimund-schluessler
authored andcommitted
Move recurrenceRuleFormat.js from filter to utils
1 parent 654f830 commit d5ab511

File tree

2 files changed

+3
-5
lines changed

2 files changed

+3
-5
lines changed

src/components/AppSidebar/RepeatItem/RepeatSummary.vue

Lines changed: 3 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -23,7 +23,7 @@
2323

2424
<template>
2525
<span v-if="display">
26-
{{ recurrenceRule | formatRecurrenceRule }}
26+
{{ formatRecurrenceRule(recurrenceRule) }}
2727
</span>
2828
<span v-else>
2929
{{ t('tasks', 'No recurrence') }}
@@ -32,13 +32,10 @@
3232

3333
<script>
3434
import { translate as t } from '@nextcloud/l10n'
35-
import formatRecurrenceRule from '../../../filters/recurrenceRuleFormat.js'
35+
import formatRecurrenceRule from '../../../utils/recurrenceRuleFormat.js'
3636
3737
export default {
3838
name: 'RepeatSummary',
39-
filters: {
40-
formatRecurrenceRule,
41-
},
4239
props: {
4340
/**
4441
* The recurrence-rule object as defined on the eventComponent
@@ -61,6 +58,7 @@ export default {
6158
},
6259
methods: {
6360
t,
61+
formatRecurrenceRule,
6462
},
6563
}
6664
</script>

0 commit comments

Comments
 (0)