Added conditional rendering of word draft.
Fixed positioning of aside in shorter docs.
This commit is contained in:
parent
409ef2cae7
commit
898aa04071
|
|
@ -961,7 +961,7 @@ const items = computed(() => {
|
|||
:description="formatSignature(document)"
|
||||
class="py-0 pb-2"
|
||||
>
|
||||
<template #headline>
|
||||
<template #headline v-if="document?.type=='activities'">
|
||||
<span class="text-carpared font-semibold">
|
||||
<UIcon name="ph-file-dashed" class="mr-1" />{{ document?.draft ? $t('ui.draft') : '' }}
|
||||
</span>
|
||||
|
|
@ -1009,11 +1009,8 @@ const items = computed(() => {
|
|||
</UPageBody>
|
||||
|
||||
<template #right>
|
||||
<UPageAside
|
||||
class="py-0 my-0"
|
||||
>
|
||||
|
||||
<UPageAnchors :links="links" />
|
||||
<UPageAside>
|
||||
<UPageAnchors :links="links" v-if="paragraphs.length" />
|
||||
|
||||
<UAccordion :items="items">
|
||||
<template #body="{ item }">
|
||||
|
|
|
|||
Loading…
Reference in New Issue