From a3f47b35f056bbb8ec9a79902ff902dbad733f8e Mon Sep 17 00:00:00 2001 From: Christian Hofmaier Date: Tue, 2 Apr 2019 16:01:56 +0000 Subject: [eventmanager] fix bug with german language interval type --- webapp/src/components/EventModuleEdit.vue | 13 +++++++------ 1 file changed, 7 insertions(+), 6 deletions(-) (limited to 'webapp') diff --git a/webapp/src/components/EventModuleEdit.vue b/webapp/src/components/EventModuleEdit.vue index b41b1f5..78210e3 100644 --- a/webapp/src/components/EventModuleEdit.vue +++ b/webapp/src/components/EventModuleEdit.vue @@ -331,7 +331,7 @@ > - + @@ -448,10 +448,11 @@ export default { if (value.type === 'edit' && value.show) { if (this.$refs.form) this.$refs.form.resetValidation() this.step = 1 - this.intervalTypes = [] - this.intervalTypes.push(this.$t('day')) - this.intervalTypes.push(this.$t('week')) - this.intervalTypes.push(this.$t('month')) + this.intervalTypes = [ + { name: this.$t('day'), value: 'day' }, + { name: this.$t('week'), value: 'week' }, + { name: this.$t('month'), value: 'month' } + ] this.stepCompleted = value.info.id ? 4 : 0 this.name = value.info.name || '' this.description = value.info.description || '' @@ -492,7 +493,7 @@ export default { this.endTime = '23:59' } this.interval = this.times.interval || 1 - this.intervalType = this.times.intervalType || this.intervalTypes[0] + this.intervalType = this.times.intervalType || this.intervalTypes[0].value this.dayMap = this.times.dayMap || [1, 1, 1, 1, 1, 1, 1] this.monthMap = this.times.monthMap || [1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1] -- cgit v1.2.3-55-g7522