Skip to content

Commit

Permalink
commented profile edit view and removed it from routes, to be fixed o…
Browse files Browse the repository at this point in the history
…r dropped later
  • Loading branch information
BatuevIO committed Sep 14, 2024
1 parent 84275fd commit cef7d6d
Show file tree
Hide file tree
Showing 2 changed files with 10 additions and 6 deletions.
9 changes: 5 additions & 4 deletions src/router/profile.ts
Original file line number Diff line number Diff line change
Expand Up @@ -13,10 +13,11 @@ export const profileRoutes: RouteRecordRaw[] = [
path: ':id(\\d+)',
component: () => import('@/views/profile/ProfileView.vue'),
},
{
path: 'edit',
component: () => import('@/views/profile/ProfileEditView.vue'),
},
// Раскомментируйте, если починили; удалите, если решили дропнуть
// {
// path: 'edit',
// component: () => import('@/views/profile/ProfileEditView.vue'),
// },
{
path: 'edit-auth',
component: () => import('@/views/profile/ProfileEditAuthView.vue'),
Expand Down
7 changes: 5 additions & 2 deletions src/views/profile/ProfileEditView.vue
Original file line number Diff line number Diff line change
@@ -1,4 +1,7 @@
<script setup lang="ts">
<!-- TODO: почините или дропните насовсем -->
<!-- Чтобы починить, как минимум нужно починить типы в UserdataConverter -->
<!-- Если почИните, то раскомментриуйте в роутере, если дропнете, то удалите там же -->
<!-- <script setup lang="ts">
import { onMounted, ref } from 'vue';
import Placeholder from '@/assets/profile_image_placeholder.webp';
import { AuthApi } from '@/api';
Expand Down Expand Up @@ -238,4 +241,4 @@ async function saveEdit() {
width: 356px;
text-align: center;
}
</style>
</style> -->

0 comments on commit cef7d6d

Please sign in to comment.