mirror of
https://github.com/Ocelot-Social-Community/Ocelot-Social.git
synced 2025-12-12 23:35:58 +00:00
Merge branch '6044-Add-create-New-Event' of https://github.com/Ocelot-Social-Community/Ocelot-Social into 6044-Add-create-New-Event
This commit is contained in:
commit
ef0ee1ec0d
@ -57,7 +57,7 @@
|
||||
<ds-space margin-bottom="small" />
|
||||
<content-viewer class="content hyphenate-text" :content="post.content" />
|
||||
<!-- Eventdata -->
|
||||
<ds-space v-if="post.postType[0] === 'Event'" margin-bottom="small">
|
||||
<ds-space v-if="post && post.postType[0] === 'Event'" margin-bottom="small">
|
||||
<ds-flex>
|
||||
<ds-flex-item width="200px">Start:</ds-flex-item>
|
||||
<ds-flex-item>{{ post.eventStart }}</ds-flex-item>
|
||||
@ -202,7 +202,7 @@ export default {
|
||||
data() {
|
||||
return {
|
||||
links,
|
||||
post: {postType: ['Article']},
|
||||
post: null,
|
||||
ready: false,
|
||||
title: 'loading',
|
||||
showNewCommentForm: true,
|
||||
@ -247,7 +247,7 @@ export default {
|
||||
]
|
||||
},
|
||||
heading() {
|
||||
if (this.post.postType[0] === 'Event') return this.$t('post.viewEvent.title')
|
||||
if (this.post?.postType[0] === 'Event') return this.$t('post.viewEvent.title')
|
||||
return this.$t('post.viewPost.title')
|
||||
},
|
||||
menuModalsData() {
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user