1
0
Fork 1
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:
patak 2023-05-04 21:09:23 +02:00
parent c6c844f3fd
commit e9de11000b

View file

@ -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>