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>