mirror of
https://github.com/Ocelot-Social-Community/Ocelot-Social.git
synced 2025-12-13 07:46:06 +00:00
Fix linting
This commit is contained in:
parent
734891e93d
commit
a24e2186be
@ -282,7 +282,11 @@ export default {
|
|||||||
},
|
},
|
||||||
eventStart: { required: !!this.createEvent },
|
eventStart: { required: !!this.createEvent },
|
||||||
eventVenue: { required: !!this.createEvent, min: 3, max: 100 },
|
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() {
|
eventInput() {
|
||||||
|
|||||||
@ -1,7 +1,13 @@
|
|||||||
<template>
|
<template>
|
||||||
<div>
|
<div>
|
||||||
<ds-space margin="small">
|
<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">
|
<ds-heading v-if="contribution && contribution.group" tag="h2">
|
||||||
{{ $t('post.editPost.forGroup.title', { name: contribution.group.name }) }}
|
{{ $t('post.editPost.forGroup.title', { name: contribution.group.name }) }}
|
||||||
</ds-heading>
|
</ds-heading>
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user