Adjust tile grid
This commit is contained in:
parent
fc50095b36
commit
14f3195a7f
1 changed files with 1 additions and 1 deletions
|
@ -139,7 +139,7 @@ export function GetLinksData(
|
||||||
subscribedChannels.length > 20
|
subscribedChannels.length > 20
|
||||||
? `>${Math.floor(moment().subtract(9, 'months').startOf('week').unix())}`
|
? `>${Math.floor(moment().subtract(9, 'months').startOf('week').unix())}`
|
||||||
: `>${Math.floor(moment().subtract(1, 'year').startOf('week').unix())}`,
|
: `>${Math.floor(moment().subtract(1, 'year').startOf('week').unix())}`,
|
||||||
pageSize: getPageSize(subscribedChannels.length > 3 ? (subscribedChannels.length > 6 ? 16 : 8) : 4),
|
pageSize: getPageSize(subscribedChannels.length > 3 ? (subscribedChannels.length > 6 ? 12 : 8) : 4),
|
||||||
streamTypes: null,
|
streamTypes: null,
|
||||||
channelIds: subscribedChannels.map((subscription: Subscription) => {
|
channelIds: subscribedChannels.map((subscription: Subscription) => {
|
||||||
const { channelClaimId } = parseURI(subscription.uri);
|
const { channelClaimId } = parseURI(subscription.uri);
|
||||||
|
|
Loading…
Reference in a new issue