Fixe userProfileStore.user
This commit is contained in:
@@ -18,7 +18,7 @@
|
|||||||
<span class="value">Un portrait vous permet de personnaliser votre profil</span>
|
<span class="value">Un portrait vous permet de personnaliser votre profil</span>
|
||||||
<span>
|
<span>
|
||||||
<img
|
<img
|
||||||
:src="userProfileStore.value.portraitUrl"
|
:src="userProfileStore.user.portraitUrl"
|
||||||
alt="Profile Image"
|
alt="Profile Image"
|
||||||
class="rounded-full"
|
class="rounded-full"
|
||||||
width="48px"
|
width="48px"
|
||||||
@@ -38,7 +38,7 @@
|
|||||||
class="editableValue"
|
class="editableValue"
|
||||||
@click="openEditAlias">
|
@click="openEditAlias">
|
||||||
<span class="label">{{ $t('personnalinformation.alias') }}</span>
|
<span class="label">{{ $t('personnalinformation.alias') }}</span>
|
||||||
<span class="value">{{ userProfileStore.value.alias }}</span>
|
<span class="value">{{ userProfileStore.user.alias }}</span>
|
||||||
<span><v-icon>mdi-chevron-right</v-icon></span>
|
<span><v-icon>mdi-chevron-right</v-icon></span>
|
||||||
</button>
|
</button>
|
||||||
|
|
||||||
@@ -46,7 +46,7 @@
|
|||||||
class="editableValue"
|
class="editableValue"
|
||||||
@click="openEditBirthday">
|
@click="openEditBirthday">
|
||||||
<span class="label">{{ $t('personnalinformation.dob') }}</span>
|
<span class="label">{{ $t('personnalinformation.dob') }}</span>
|
||||||
<span class="value">{{ userProfileStore.value.birthDate }}</span>
|
<span class="value">{{ userProfileStore.user.birthDate }}</span>
|
||||||
<span><v-icon>mdi-chevron-right</v-icon></span>
|
<span><v-icon>mdi-chevron-right</v-icon></span>
|
||||||
</button>
|
</button>
|
||||||
|
|
||||||
@@ -62,7 +62,7 @@
|
|||||||
class="editableValue"
|
class="editableValue"
|
||||||
@click="openEditEmail">
|
@click="openEditEmail">
|
||||||
<span class="label">{{ $t('personnalinformation.email') }}</span>
|
<span class="label">{{ $t('personnalinformation.email') }}</span>
|
||||||
<span class="value">{{ userProfileStore.value.email }}</span>
|
<span class="value">{{ userProfileStore.user.email }}</span>
|
||||||
<span><v-icon>mdi-chevron-right</v-icon></span>
|
<span><v-icon>mdi-chevron-right</v-icon></span>
|
||||||
</button>
|
</button>
|
||||||
|
|
||||||
@@ -70,7 +70,7 @@
|
|||||||
class="editableValue"
|
class="editableValue"
|
||||||
@click="openEditPhone">
|
@click="openEditPhone">
|
||||||
<span class="label">{{ $t('personnalinformation.phone') }}</span>
|
<span class="label">{{ $t('personnalinformation.phone') }}</span>
|
||||||
<span class="value">{{ userProfileStore.value.phoneNumber }}</span>
|
<span class="value">{{ userProfileStore.user.phoneNumber }}</span>
|
||||||
<span><v-icon>mdi-chevron-right</v-icon></span>
|
<span><v-icon>mdi-chevron-right</v-icon></span>
|
||||||
</button>
|
</button>
|
||||||
</v-card>
|
</v-card>
|
||||||
@@ -85,7 +85,7 @@
|
|||||||
class="editableValue"
|
class="editableValue"
|
||||||
@click="openEditAddress">
|
@click="openEditAddress">
|
||||||
<span class="label">{{ $t('personnalinformation.home') }}</span>
|
<span class="label">{{ $t('personnalinformation.home') }}</span>
|
||||||
<span class="value">{{ userProfileStore.value.address }}</span>
|
<span class="value">{{ userProfileStore.user.address }}</span>
|
||||||
<span><v-icon>mdi-chevron-right</v-icon></span>
|
<span><v-icon>mdi-chevron-right</v-icon></span>
|
||||||
</button>
|
</button>
|
||||||
</v-card>
|
</v-card>
|
||||||
@@ -94,7 +94,7 @@
|
|||||||
<!-- Modal -->
|
<!-- Modal -->
|
||||||
<v-dialog v-model="dialogEditPortraitShown" max-width="600px">
|
<v-dialog v-model="dialogEditPortraitShown" max-width="600px">
|
||||||
<portrait-dialog
|
<portrait-dialog
|
||||||
:portrait-url="userProfileStore.value.portraitUrl"
|
:portrait-url="userProfileStore.user.portraitUrl"
|
||||||
@close="handleCloseEditPortrait"
|
@close="handleCloseEditPortrait"
|
||||||
@save="handleSaveEditPortrait"
|
@save="handleSaveEditPortrait"
|
||||||
></portrait-dialog>
|
></portrait-dialog>
|
||||||
@@ -102,8 +102,8 @@
|
|||||||
|
|
||||||
<v-dialog v-model="dialogEditFullnameShown" max-width="600px">
|
<v-dialog v-model="dialogEditFullnameShown" max-width="600px">
|
||||||
<fullname-dialog
|
<fullname-dialog
|
||||||
:firstname="userProfileStore.value.firstname"
|
:firstname="userProfileStore.user.firstname"
|
||||||
:lastname="userProfileStore.value.lastname"
|
:lastname="userProfileStore.user.lastname"
|
||||||
@close="handleCloseEditFullname"
|
@close="handleCloseEditFullname"
|
||||||
@save="handleSaveEditFullname"
|
@save="handleSaveEditFullname"
|
||||||
></fullname-dialog>
|
></fullname-dialog>
|
||||||
@@ -111,7 +111,7 @@
|
|||||||
|
|
||||||
<v-dialog v-model="dialogEditAliasShown" max-width="600px">
|
<v-dialog v-model="dialogEditAliasShown" max-width="600px">
|
||||||
<alias-dialog
|
<alias-dialog
|
||||||
:alias="userProfileStore.value.alias"
|
:alias="userProfileStore.user.alias"
|
||||||
@close="handleCloseEditAlias"
|
@close="handleCloseEditAlias"
|
||||||
@save="handleSaveEditAlias"
|
@save="handleSaveEditAlias"
|
||||||
></alias-dialog>
|
></alias-dialog>
|
||||||
@@ -119,7 +119,7 @@
|
|||||||
|
|
||||||
<v-dialog v-model="dialogEditBirthdayShown" max-width="600px">
|
<v-dialog v-model="dialogEditBirthdayShown" max-width="600px">
|
||||||
<birthday-dialog
|
<birthday-dialog
|
||||||
:birth-date="userProfileStore.value.birthDate"
|
:birth-date="userProfileStore.user.birthDate"
|
||||||
@close="handleCloseEditBirthday"
|
@close="handleCloseEditBirthday"
|
||||||
@save="handleSaveEditBirthday"
|
@save="handleSaveEditBirthday"
|
||||||
></birthday-dialog>
|
></birthday-dialog>
|
||||||
@@ -127,7 +127,7 @@
|
|||||||
|
|
||||||
<v-dialog v-model="dialogEditPhoneShown" max-width="600px">
|
<v-dialog v-model="dialogEditPhoneShown" max-width="600px">
|
||||||
<phone-dialog
|
<phone-dialog
|
||||||
:phone="userProfileStore.value.phoneNumber"
|
:phone="userProfileStore.user.phoneNumber"
|
||||||
@close="handleCloseEditPhone"
|
@close="handleCloseEditPhone"
|
||||||
@save="handleSaveEditPhone"
|
@save="handleSaveEditPhone"
|
||||||
></phone-dialog>
|
></phone-dialog>
|
||||||
@@ -135,7 +135,7 @@
|
|||||||
|
|
||||||
<v-dialog v-model="dialogEditEmailShown" max-width="600px">
|
<v-dialog v-model="dialogEditEmailShown" max-width="600px">
|
||||||
<email-dialog
|
<email-dialog
|
||||||
:email="userProfileStore.value.email"
|
:email="userProfileStore.user.email"
|
||||||
@close="handleCloseEditEmail"
|
@close="handleCloseEditEmail"
|
||||||
@save="handleSaveEditEmail"
|
@save="handleSaveEditEmail"
|
||||||
></email-dialog>
|
></email-dialog>
|
||||||
@@ -143,7 +143,7 @@
|
|||||||
|
|
||||||
<v-dialog v-model="dialogEditAddressShown" max-width="600px">
|
<v-dialog v-model="dialogEditAddressShown" max-width="600px">
|
||||||
<address-dialog
|
<address-dialog
|
||||||
:address="userProfileStore.value.address"
|
:address="userProfileStore.user.address"
|
||||||
@close="handleCloseEditAddress"
|
@close="handleCloseEditAddress"
|
||||||
@save="handleSaveEditAddress"
|
@save="handleSaveEditAddress"
|
||||||
></address-dialog>
|
></address-dialog>
|
||||||
|
|||||||
Reference in New Issue
Block a user