Skip to content

Commit

Permalink
fix: Omit image tag when fetching user profile image
Browse files Browse the repository at this point in the history
  • Loading branch information
Jan Bongers committed Jan 18, 2023
1 parent c1afdf6 commit 65e57a8
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions frontend/components/Layout/Images/UserImage.vue
Original file line number Diff line number Diff line change
Expand Up @@ -45,8 +45,8 @@ export default Vue.extend({
computed: {
userImage: {
get(): string | undefined {
if (this.user?.Id && this.user?.PrimaryImageTag) {
return `${this.$axios.defaults.baseURL}/Users/${this.user.Id}/Images/Primary/?tag=${this.user.PrimaryImageTag}&quality=${this.quality}`;
if (this.user?.Id) {
return `${this.$axios.defaults.baseURL}/Users/${this.user.Id}/Images/Primary/?quality=${this.quality}`;
}
}
},
Expand Down

0 comments on commit 65e57a8

Please sign in to comment.