diff --git a/webapp/components/PostCard/PostCard.vue b/webapp/components/PostCard/PostCard.vue index f42fafdd7..79ba9e8f0 100644 --- a/webapp/components/PostCard/PostCard.vue +++ b/webapp/components/PostCard/PostCard.vue @@ -143,7 +143,7 @@ export default { }, mounted() { const width = this.$el.offsetWidth - const height = Math.min((width / this.post.imageAspectRatio), 2000) + const height = Math.min(width / this.post.imageAspectRatio, 2000) const imageElement = this.$el.querySelector('.ds-card-image') if (imageElement) { diff --git a/webapp/pages/post/_id/_slug/more-info.vue b/webapp/pages/post/_id/_slug/more-info.vue index fa690c354..2297800a2 100644 --- a/webapp/pages/post/_id/_slug/more-info.vue +++ b/webapp/pages/post/_id/_slug/more-info.vue @@ -19,7 +19,11 @@

{{ $t('post.moreInfo.titleOfRelatedContributionsSection') }}

- + { }) it('displays a loading spinner below the posts list', () => { - expect(wrapper.find('.user-profile-posts-list .ds-spinner').exists()).toBe(true) + expect(wrapper.find('.ds-spinner').exists()).toBe(true) }) }) }) diff --git a/webapp/pages/profile/_id/_slug.vue b/webapp/pages/profile/_id/_slug.vue index 68437c64a..b343b018e 100644 --- a/webapp/pages/profile/_id/_slug.vue +++ b/webapp/pages/profile/_id/_slug.vue @@ -168,7 +168,7 @@ -