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