mirror of
https://github.com/Ocelot-Social-Community/Ocelot-Social.git
synced 2025-12-12 23:35:58 +00:00
[refactor] fixed wrong title on edit post page
This commit is contained in:
parent
a8f32cad75
commit
18f932f1b6
@ -1,13 +1,5 @@
|
||||
<template>
|
||||
<div>
|
||||
<div>
|
||||
<h1 v-if="!createEvent" class="title">
|
||||
{{ $t('post.createNewPost.title') }}
|
||||
</h1>
|
||||
<h1 v-else class="title">
|
||||
{{ $t('post.createNewEvent.title') }}
|
||||
</h1>
|
||||
</div>
|
||||
<ds-form
|
||||
class="contribution-form"
|
||||
ref="contributionForm"
|
||||
|
||||
@ -16,7 +16,17 @@
|
||||
</ds-flex-item>
|
||||
<ds-flex-item :width="{ base: '100%', md: 1 }">
|
||||
<transition name="slide-up" appear>
|
||||
<contribution-form :group="group" :createEvent="createEvent" />
|
||||
<div>
|
||||
<div>
|
||||
<h1 v-if="!createEvent" class="title">
|
||||
{{ $t('post.createNewPost.title') }}
|
||||
</h1>
|
||||
<h1 v-else class="title">
|
||||
{{ $t('post.createNewEvent.title') }}
|
||||
</h1>
|
||||
</div>
|
||||
<contribution-form :group="group" :createEvent="createEvent" />
|
||||
</div>
|
||||
</transition>
|
||||
</ds-flex-item>
|
||||
</ds-flex>
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user