mirror of
https://github.com/ThatGuySam/doesitarm.git
synced 2026-05-18 06:44:46 -07:00
Limit related videos to 24
This commit is contained in:
parent
ea5ec51af1
commit
c7d39dd9f2
1 changed files with 1 additions and 1 deletions
|
|
@ -21,7 +21,7 @@ export function buildVideoPayload ( video, allVideoAppsList, videoList ) {
|
|||
video,
|
||||
featuredApps,
|
||||
// If no related video found just get the 12 newest ones
|
||||
relatedVideos: (relatedVideos.length !== 0) ? relatedVideos : videoList.slice(0, 12)
|
||||
relatedVideos: (relatedVideos.length !== 0) ? relatedVideos.slice(0, 24) : videoList.slice(0, 12)
|
||||
}
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue