Bug 1802265 - Pocket newtab topsite spoc use title instead of sponsor. r=nanj

Differential Revision: https://phabricator.services.mozilla.com/D162947
This commit is contained in:
scott 2022-11-24 20:03:53 +00:00
parent 649e436ec7
commit 61beafe8e2
2 changed files with 4 additions and 4 deletions

View File

@ -51,8 +51,8 @@ export class _TopSites extends React.PureComponent {
const link = {
customScreenshotURL: topSiteSpoc.image_src,
type: "SPOC",
label: topSiteSpoc.sponsor,
title: topSiteSpoc.sponsor,
label: topSiteSpoc.title || topSiteSpoc.sponsor,
title: topSiteSpoc.title || topSiteSpoc.sponsor,
url: topSiteSpoc.url,
flightId: topSiteSpoc.flight_id,
id: topSiteSpoc.id,

View File

@ -13660,8 +13660,8 @@ class TopSites_TopSites_TopSites extends (external_React_default()).PureComponen
const link = {
customScreenshotURL: topSiteSpoc.image_src,
type: "SPOC",
label: topSiteSpoc.sponsor,
title: topSiteSpoc.sponsor,
label: topSiteSpoc.title || topSiteSpoc.sponsor,
title: topSiteSpoc.title || topSiteSpoc.sponsor,
url: topSiteSpoc.url,
flightId: topSiteSpoc.flight_id,
id: topSiteSpoc.id,