Add drafts to side drawer

This commit is contained in:
tusooa 2023-03-10 20:26:13 -05:00
commit 98bbb4eeef
No known key found for this signature in database
GPG key ID: 42AEC43D48433C51
2 changed files with 26 additions and 3 deletions

View file

@ -240,6 +240,27 @@
</span>
</router-link>
</li>
<li
v-if="currentUser"
@click="toggleDrawer"
>
<router-link
:to="{ name: 'drafts' }"
class="menu-item"
>
<FAIcon
fixed-width
class="fa-scale-110 fa-old-padding"
icon="file-pen"
/> {{ $t('nav.drafts') }}
<span
v-if="draftCount"
class="badge badge-notification"
>
{{ draftCount }}
</span>
</router-link>
</li>
<li
v-if="currentUser"
@click="toggleDrawer"