mirror of
https://github.com/Sendouc/sendou.ink.git
synced 2026-08-22 02:55:52 -05:00
Add back art tab to user profile
This commit is contained in:
@@ -11,6 +11,7 @@ import {
|
||||
USER_SEARCH_PAGE,
|
||||
navIconUrl,
|
||||
userAdminPage,
|
||||
userArtPage,
|
||||
userBuildsPage,
|
||||
userEditProfilePage,
|
||||
userPage,
|
||||
@@ -104,6 +105,11 @@ export default function UserPageLayout() {
|
||||
{t("common:pages.vods")} ({data.user.vodsCount})
|
||||
</SubNavLink>
|
||||
)}
|
||||
{(data.user.artCount > 0 || isOwnPage) && (
|
||||
<SubNavLink to={userArtPage(data.user)} end={false}>
|
||||
{t("common:pages.art")} ({data.user.artCount})
|
||||
</SubNavLink>
|
||||
)}
|
||||
{isStaff && (
|
||||
<SubNavLink to={userAdminPage(data.user)}>Admin</SubNavLink>
|
||||
)}
|
||||
|
||||
Reference in New Issue
Block a user