Fix path and names for Profile section
This commit is contained in:
@@ -22,14 +22,14 @@
|
||||
@mouseup="mouseUp"
|
||||
@mousemove="mouseMove">
|
||||
|
||||
<v-btn variant="text" @click="currentComponent = 'PageInformations'">
|
||||
<v-btn variant="text" @click="currentComponent = 'CreatorPage'">
|
||||
<v-icon class="mr-2">mdi-file-edit-outline</v-icon>
|
||||
Informations de votre page
|
||||
Créateur
|
||||
</v-btn>
|
||||
|
||||
<v-btn variant="text" @click="currentComponent = 'PersonnalInfo'">
|
||||
<v-icon class="mr-2">mdi-information</v-icon>
|
||||
Informations personnelles
|
||||
Utilisateur
|
||||
</v-btn>
|
||||
|
||||
<v-btn variant="text" @click="currentComponent = 'ManageAccount'">
|
||||
@@ -58,8 +58,8 @@
|
||||
<template v-if="currentComponent === 'ManageAccount'">
|
||||
<manage-account></manage-account>
|
||||
</template>
|
||||
<template v-else-if="currentComponent === 'PageInformations'">
|
||||
<page-informations></page-informations>
|
||||
<template v-else-if="currentComponent === 'CreatorPage'">
|
||||
<creator-profile></creator-profile>
|
||||
</template>
|
||||
<template v-else-if="currentComponent === 'PersonnalInfo'">
|
||||
<personnal-info></personnal-info>
|
||||
@@ -74,10 +74,10 @@
|
||||
|
||||
<script setup>
|
||||
import {ref, onMounted} from "vue";
|
||||
import ManageAccount from "@/views/Profile/ManageAccount.vue";
|
||||
import PageInformations from "@/views/Profile/PageInformations.vue";
|
||||
import PersonnalInfo from "@/views/Profile/PersonnalInfo.vue";
|
||||
import AccountSecurity from "@/views/Profile/AccountSecurity.vue";
|
||||
import ManageAccount from "@/views/profile/ManageAccount.vue";
|
||||
import CreatorPage from "@/views/profile/creators/CreatorPage.vue";
|
||||
import PersonnalInfo from "@/views/profile/account/PersonnalInfo.vue";
|
||||
import AccountSecurity from "@/views/profile/security/AccountSecurity.vue";
|
||||
|
||||
const currentComponent = ref('PersonnalInfo'); // Default component
|
||||
const isDown = ref(false);
|
||||
|
||||
Reference in New Issue
Block a user