Skip to content

Commit

Permalink
fix: Fix avatars
Browse files Browse the repository at this point in the history
  • Loading branch information
Luferov Victor committed Apr 4, 2023
1 parent 9629497 commit f6e8f4f
Show file tree
Hide file tree
Showing 8 changed files with 83 additions and 156 deletions.
4 changes: 3 additions & 1 deletion client/components/common/AppBar.vue
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,9 @@ const authStore = useAuthStore()
<template v-if="authStore.loginIn">
<v-menu>
<template #activator="{ props }">
<v-avatar :image="authStore.avatar" v-bind="props" color="primary">{{ authStore.initials }}</v-avatar>
<v-avatar :image="authStore.user && authStore.user.avatar" v-bind="props" color="primary">
{{ authStore.initials }}
</v-avatar>
</template>
<v-list>
<v-list-item :to="localePath({ name: 'profile-me' })" prepend-icon="mdi-account-circle">
Expand Down
2 changes: 1 addition & 1 deletion client/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -48,7 +48,7 @@
"@mdi/font": "^7.2.96",
"@nuxtjs/apollo": "^5.0.0-alpha.6",
"@nuxtjs/robots": "^3.0.0",
"@nuxtjs/tailwindcss": "^6.6.4",
"@nuxtjs/tailwindcss": "^6.6.5",
"@pinia/nuxt": "^0.4.7",
"@vee-validate/i18n": "^4.8.3",
"@vueuse/core": "^9.13.0",
Expand Down
2 changes: 2 additions & 0 deletions docker-compose.yml
Original file line number Diff line number Diff line change
Expand Up @@ -52,6 +52,8 @@ services:
environment:
MINIO_ROOT_USER: ${MINIO_ROOT_USER}
MINIO_ROOT_PASSWORD: ${MINIO_ROOT_PASSWORD}
ports:
- "9000:9000"
volumes:
- './data/s3/data:/data'

Expand Down
Loading

0 comments on commit f6e8f4f

Please sign in to comment.