fix label class

This commit is contained in:
Mohit Panjwani
2019-11-23 12:18:27 +05:30
parent 06807275b9
commit f2ad8286d7
2 changed files with 3 additions and 4 deletions

View File

@ -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 {