Fix linting

This commit is contained in:
elweyn 2023-06-05 17:55:45 +02:00
parent 734891e93d
commit a24e2186be
2 changed files with 12 additions and 2 deletions

View File

@ -282,7 +282,11 @@ export default {
},
eventStart: { required: !!this.createEvent },
eventVenue: { required: !!this.createEvent, min: 3, max: 100 },
eventLocationName: { required: !!this.createEvent && !this.formData.eventIsOnline, min: 3, max: 100 },
eventLocationName: {
required: !!this.createEvent && !this.formData.eventIsOnline,
min: 3,
max: 100,
},
}
},
eventInput() {

View File

@ -1,7 +1,13 @@
<template>
<div>
<ds-space margin="small">
<ds-heading tag="h1">{{ contribution && contribution.postType[0] === 'Event' ? $t('post.editPost.event') : $t('post.editPost.title') }}</ds-heading>
<ds-heading tag="h1">
{{
contribution && contribution.postType[0] === 'Event'
? $t('post.editPost.event')
: $t('post.editPost.title')
}}
</ds-heading>
<ds-heading v-if="contribution && contribution.group" tag="h2">
{{ $t('post.editPost.forGroup.title', { name: contribution.group.name }) }}
</ds-heading>