@salesforcedevs/dx-components 1.3.48 → 1.3.49

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@salesforcedevs/dx-components",
3
- "version": "1.3.48",
3
+ "version": "1.3.49",
4
4
  "description": "DX Lightning web components",
5
5
  "license": "MIT",
6
6
  "engines": {
@@ -23,7 +23,7 @@ export default class CardContent extends LightningElement {
23
23
  if (this._authors && this._authors.length) {
24
24
  return this._authors!.map((author, index) => ({
25
25
  ...author,
26
- imgSrc: author.avatar_urls?.["24"] || author.image_src,
26
+ imgSrc: author.image_src,
27
27
  key: index
28
28
  }));
29
29
  }
@@ -14,11 +14,7 @@ export default class ExpandedCard extends ArchiveCard {
14
14
  if (this._authors && this._authors.length) {
15
15
  return this._authors!.map((author, index) => ({
16
16
  ...author,
17
- imgSrc: !this.mobile
18
- ? author.avatar_urls?.["24"] ||
19
- author.image_src ||
20
- author.imgSrc
21
- : "",
17
+ imgSrc: !this.mobile ? author.image_src : "",
22
18
  key: index
23
19
  }));
24
20
  }
@@ -39,7 +39,7 @@ export default class FeaturedContentHeader extends LightningElement {
39
39
  if (this._authors && this._authors.length) {
40
40
  return this._authors!.map((author, index) => ({
41
41
  ...author,
42
- imgSrc: author.avatar_urls?.["24"] || author.imgSrc,
42
+ imgSrc: author.image_src,
43
43
  key: index
44
44
  }));
45
45
  }