forked from Mirrors/elk
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>
|
</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>
|
||||||
|
|
Loading…
Reference in a new issue