This commit is contained in:
Sean Yesmunt 2020-05-27 15:40:25 -04:00
parent 424583de60
commit d20217a228
2 changed files with 13 additions and 13 deletions

View file

@ -143,7 +143,7 @@ export default function getHomePageRowData(
title: '#lbrytvpaidbeta', title: '#lbrytvpaidbeta',
link: `/$/${PAGES.DISCOVER}?${CS.TAGS_KEY}=lbrytvpaidbeta&fee_amount=>0&${CS.CLAIM_TYPE}=${CS.CLAIM_STREAM}&${ link: `/$/${PAGES.DISCOVER}?${CS.TAGS_KEY}=lbrytvpaidbeta&fee_amount=>0&${CS.CLAIM_TYPE}=${CS.CLAIM_STREAM}&${
CS.CHANNEL_IDS_KEY CS.CHANNEL_IDS_KEY
}=${PAID_BETA_CHANNEL_IDS_KEY.join(',')}`, }=${PAID_BETA_CHANNEL_IDS_KEY.join(',')}`,
help: ( help: (
<div className="claim-grid__help"> <div className="claim-grid__help">
<Icon <Icon
@ -186,17 +186,17 @@ export default function getHomePageRowData(
releaseTime: releaseTime:
subscribedChannels.length > 20 subscribedChannels.length > 20
? `>${Math.floor( ? `>${Math.floor(
moment() moment()
.subtract(6, 'months') .subtract(6, 'months')
.startOf('week') .startOf('week')
.unix() .unix()
)}` )}`
: `>${Math.floor( : `>${Math.floor(
moment() moment()
.subtract(1, 'year') .subtract(1, 'year')
.startOf('week') .startOf('week')
.unix() .unix()
)}`, )}`,
pageSize: subscribedChannels.length > 3 ? 8 : 4, pageSize: subscribedChannels.length > 3 ? 8 : 4,
channelIds: subscribedChannels.map((subscription: Subscription) => { channelIds: subscribedChannels.map((subscription: Subscription) => {
const { channelClaimId } = parseURI(subscription.uri); const { channelClaimId } = parseURI(subscription.uri);
@ -278,7 +278,7 @@ export default function getHomePageRowData(
options: { options: {
orderBy: ['release_time'], orderBy: ['release_time'],
pageSize: 4, pageSize: 4,
channelIds: ['3fda836a92faaceedfe398225fb9b2ee2ed1f01a'], channelIds: ['4c29f8b013adea4d5cca1861fb2161d5089613ea'],
}, },
}; };

View file

@ -223,7 +223,7 @@ export default function getHomePageRowData(
options: { options: {
orderBy: ['release_time'], orderBy: ['release_time'],
pageSize: 4, pageSize: 4,
channelIds: ['3fda836a92faaceedfe398225fb9b2ee2ed1f01a'], channelIds: ['4c29f8b013adea4d5cca1861fb2161d5089613ea'],
}, },
}; };