{{ account.displayName }}
diff --git a/src/consts/eventLevel.ts b/src/consts/eventLevel.ts index a7310dc6..b1e43a09 100644 --- a/src/consts/eventLevel.ts +++ b/src/consts/eventLevel.ts @@ -41,8 +41,6 @@ export const eventLevels = deepFreeze({ } }) satisfies EventLevelMap -export const getEventLevelFromValue = ( - value: EventLevelValue -): EventLevel => { +export const getEventLevelFromValue = (value: EventLevelValue): EventLevel => { return eventLevels[value].value } diff --git a/src/lib/routeInfo.ts b/src/lib/routeInfo.ts index b5120597..ae3a3fd4 100644 --- a/src/lib/routeInfo.ts +++ b/src/lib/routeInfo.ts @@ -16,7 +16,7 @@ export const routes: routeinfo[] = [ }, { name: 'Profile', - path: '/users', + path: '/user', icon: 'mdi:account-circle-outline', description: '掲載するアカウントや自己紹介を編集します' }, diff --git a/src/pages/Users.vue b/src/pages/User.vue similarity index 82% rename from src/pages/Users.vue rename to src/pages/User.vue index e1d608d4..ddfbac64 100644 --- a/src/pages/Users.vue +++ b/src/pages/User.vue @@ -2,10 +2,10 @@ import { ref } from 'vue' import ContentHeader from '/@/components/Layout/ContentHeader.vue' import PageContainer from '/@/components/Layout/PageContainer.vue' -import UserProfileEdit from '/@/components/Users/UserProfileEdit.vue' +import UserProfileEdit from '/@/components/User/UserProfileEdit.vue' import apis, { UserDetail } from '/@/lib/apis' -import UserProfileMobile from '/@/components/Users/UserProfileMobile.vue' -import UserProfileDesktop from '/@/components/Users/UserProfileDesktop.vue' +import UserProfileMobile from '/@/components/User/UserProfileMobile.vue' +import UserProfileDesktop from '/@/components/User/UserProfileDesktop.vue' import { useResponsiveStore } from '/@/store/responsive' import { storeToRefs } from 'pinia' @@ -22,7 +22,7 @@ const user: UserDetail = (await apis.getUser(userId.value)).data