fix: fix profile path prefix

This commit is contained in:
mutoe 2020-10-13 22:55:05 +08:00 committed by GitHub
parent a668d87978
commit 879d1f187e
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 2 additions and 2 deletions

View File

@ -47,8 +47,8 @@ export default defineComponent({
{ type: 'globalFeed', href: '/', title: 'Global Feed' },
{ type: 'myFeed', href: '/my-feeds', title: 'Your Feed' },
{ type: 'tag', href: `/tag/${useTag.value}`, title: useTag.value, icon: 'ion-pound' },
{ type: 'author', href: `/@${useAuthor.value}`, title: 'My articles' },
{ type: 'favorited', href: `/@${useFavorited.value}/favorites`, title: 'Favorited Articles' },
{ type: 'author', href: `/profile/${useAuthor.value}`, title: 'My articles' },
{ type: 'favorited', href: `/profile/${useFavorited.value}/favorites`, title: 'Favorited Articles' },
])
const show = computed<Record<ArticleNavLinkType, boolean>>(() => ({