mirror of
https://github.com/crater-invoice/crater.git
synced 2025-10-28 12:11:08 -04:00
fix label class
This commit is contained in:
@ -58,7 +58,7 @@
|
|||||||
aria-expanded="false"
|
aria-expanded="false"
|
||||||
class="avatar"
|
class="avatar"
|
||||||
>
|
>
|
||||||
<img :src="ProfilePicture" alt="Avatar">
|
<img :src="profilePicture" alt="Avatar">
|
||||||
</a>
|
</a>
|
||||||
<v-dropdown-item>
|
<v-dropdown-item>
|
||||||
<router-link class="dropdown-item" to="/admin/settings">
|
<router-link class="dropdown-item" to="/admin/settings">
|
||||||
@ -87,7 +87,7 @@ export default {
|
|||||||
...mapGetters('userProfile', [
|
...mapGetters('userProfile', [
|
||||||
'user'
|
'user'
|
||||||
]),
|
]),
|
||||||
ProfilePicture () {
|
profilePicture () {
|
||||||
if (this.user && this.user.avatar !== null) {
|
if (this.user && this.user.avatar !== null) {
|
||||||
return this.user.avatar
|
return this.user.avatar
|
||||||
} else {
|
} else {
|
||||||
|
|||||||
@ -5,7 +5,7 @@
|
|||||||
<p class="form-desc">{{ $t('wizard.account_info_desc') }}</p>
|
<p class="form-desc">{{ $t('wizard.account_info_desc') }}</p>
|
||||||
<div class="row mb-4">
|
<div class="row mb-4">
|
||||||
<div class="col-md-6">
|
<div class="col-md-6">
|
||||||
<label class="input-label">{{ $tc('settings.account_settings.profile_picture') }}</label>
|
<label class="form-label">{{ $tc('settings.account_settings.profile_picture') }}</label>
|
||||||
<div id="pick-avatar" class="image-upload-box avatar-upload">
|
<div id="pick-avatar" class="image-upload-box avatar-upload">
|
||||||
<div class="overlay">
|
<div class="overlay">
|
||||||
<font-awesome-icon class="white-icon" icon="camera"/>
|
<font-awesome-icon class="white-icon" icon="camera"/>
|
||||||
@ -191,7 +191,6 @@ export default {
|
|||||||
data: this.previewAvatar,
|
data: this.previewAvatar,
|
||||||
id: response.data.user.id
|
id: response.data.user.id
|
||||||
}))
|
}))
|
||||||
console.log(avatarData);
|
|
||||||
|
|
||||||
this.uploadOnboardAvatar(avatarData)
|
this.uploadOnboardAvatar(avatarData)
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user