Add drafts to side drawer
This commit is contained in:
parent
71f16ec39c
commit
98bbb4eeef
2 changed files with 26 additions and 3 deletions
|
|
@ -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"
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue