Change side menu text of Post.

Co-authored-by: Tirokk <wolle.huss@pjannto.com>
This commit is contained in:
elweyn 2023-06-06 11:24:52 +02:00
parent ad0ccf59e6
commit ab579e521b

View File

@ -244,7 +244,7 @@ export default {
const { slug, id } = this.$route.params
return [
{
name: this.$t('common.post', null, 1),
name: this.post?.postType[0] === 'Event' ? this.$t('post.viewEvent.title') : this.$t('post.viewPost.title'),
path: `/post/${id}/${slug}`,
children: [
{