fix: new compose button opens compose route

zio/stable
patak 2023-05-04 21:09:23 +02:00
parent c6c844f3fd
commit e9de11000b
1 changed files with 6 additions and 2 deletions

View File

@ -46,9 +46,13 @@ router.afterEach(() => {
</NuxtLink> </NuxtLink>
</CommonTooltip> </CommonTooltip>
<CommonTooltip :content="$t('action.compose')"> <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 /> <div text-xl i-ri:quill-pen-line user-only class="rtl-flip" btn-text />
</button> </NuxtLink>
</CommonTooltip> </CommonTooltip>
</div> </div>
</div> </div>