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