mirror of
https://github.com/elk-zone/elk.git
synced 2024-11-04 16:09:59 +00:00
fix: new compose button opens compose route
This commit is contained in:
parent
c6c844f3fd
commit
e9de11000b
1 changed files with 6 additions and 2 deletions
|
@ -46,9 +46,13 @@ router.afterEach(() => {
|
|||
</NuxtLink>
|
||||
</CommonTooltip>
|
||||
<CommonTooltip :content="$t('action.compose')">
|
||||
<button :aria-label="$t('action.compose')" btn-action-icon @click="openPublishDialog('compose')">
|
||||
<NuxtLink
|
||||
to="/compose"
|
||||
:aria-label="$t('action.compose')"
|
||||
btn-action-icon
|
||||
>
|
||||
<div text-xl i-ri:quill-pen-line user-only class="rtl-flip" btn-text />
|
||||
</button>
|
||||
</NuxtLink>
|
||||
</CommonTooltip>
|
||||
</div>
|
||||
</div>
|
||||
|
|
Loading…
Reference in a new issue