Skip to content

Commit

Permalink
updated VPerson
Browse files Browse the repository at this point in the history
  • Loading branch information
bonomite committed Apr 22, 2024
1 parent 3e86191 commit a822017
Showing 1 changed file with 0 additions and 4 deletions.
4 changes: 0 additions & 4 deletions v2/src/components/VPerson.vue
Original file line number Diff line number Diff line change
Expand Up @@ -238,9 +238,6 @@ const accountNameFromUrl = (url) => {
.slice(-1)[0]
}
const isWagtailImage = computed(() => {
return profile.value.photoID && !props.sponsored && !props.imageFallbackPath
})
const getImageSrc = computed(() => {
return props.sponsored
? profile.value.logo
Expand Down Expand Up @@ -281,7 +278,6 @@ const cssContainerType = ref(props.justImage ? "unset" : "inline-size")
<div class="author-image">
<VImage
:src="getImageSrc"
:provider="isWagtailImage ? 'wagtail' : null"
:width="props.imageSize"
:height="props.imageSize"
:sizes="props.sizes"
Expand Down

0 comments on commit a822017

Please sign in to comment.