From 5097647be770b8096de29abedea731324527f741 Mon Sep 17 00:00:00 2001 From: Shubham Upreti Date: Thu, 7 Oct 2021 12:07:09 +0530 Subject: [PATCH] fix: show resized images in groups --- app/models/group.js | 19 ++++++++++--------- app/templates/components/group-card.hbs | 2 +- 2 files changed, 11 insertions(+), 10 deletions(-) diff --git a/app/models/group.js b/app/models/group.js index fc6c1300c6b..ebe59939dd3 100644 --- a/app/models/group.js +++ b/app/models/group.js @@ -10,15 +10,16 @@ export default class Group extends ModelBase.extend({ fastboot : service(), - name : attr('string'), - about : attr('string'), - logoUrl : attr('string'), - bannerUrl : attr('string'), - createdAt : attr('moment', { readOnly: true }), - modifiedAt : attr('moment'), - deletedAt : attr('moment'), - followerCount : attr('number'), - socialLinks : attr(), + name : attr('string'), + about : attr('string'), + logoUrl : attr('string'), + bannerUrl : attr('string'), + thumbnailImageUrl : attr('string', { readOnly: true }), + createdAt : attr('moment', { readOnly: true }), + modifiedAt : attr('moment'), + deletedAt : attr('moment'), + followerCount : attr('number'), + socialLinks : attr(), /** * Relationships */ diff --git a/app/templates/components/group-card.hbs b/app/templates/components/group-card.hbs index fb2d549d64f..bab2b577f1f 100644 --- a/app/templates/components/group-card.hbs +++ b/app/templates/components/group-card.hbs @@ -2,7 +2,7 @@ {{#unless this.device.isMobile}}
- +
{{/unless}}