feat: hide original post area in the edit widget (#2283)

This commit is contained in:
TAKAHASHI Shuuji 2023-07-30 03:38:13 +09:00 committed by GitHub
parent 675f5184a0
commit ee6ee30df1
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -213,13 +213,9 @@ onDeactivated(() => {
<template> <template>
<div v-if="isHydrated && currentUser" flex="~ col gap-4" py3 px2 sm:px4 aria-roledescription="publish-widget"> <div v-if="isHydrated && currentUser" flex="~ col gap-4" py3 px2 sm:px4 aria-roledescription="publish-widget">
<template v-if="draft.editingStatus"> <template v-if="draft.editingStatus">
<div flex="~ col gap-1">
<div id="state-editing" text-secondary self-center> <div id="state-editing" text-secondary self-center>
{{ $t('state.editing') }} {{ $t('state.editing') }}
</div> </div>
<StatusCard :status="draft.editingStatus" :actions="false" :hover="false" is-preview px-0 />
</div>
<div border="b dashed gray/40" />
</template> </template>
<div flex gap-3 flex-1> <div flex gap-3 flex-1>