mirror of
https://github.com/Ocelot-Social-Community/Ocelot-Social.git
synced 2025-12-12 23:35:58 +00:00
Fix linting
This commit is contained in:
parent
734891e93d
commit
a24e2186be
@ -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() {
|
||||
|
||||
@ -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>
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user