mirror of
https://github.com/ThatGuySam/doesitarm.git
synced 2026-05-15 06:35:20 -07:00
Show related apps on video listings
This commit is contained in:
parent
73cf071d21
commit
2fbd5d0f1c
2 changed files with 18 additions and 3 deletions
|
|
@ -128,7 +128,7 @@ export class ListingDetails {
|
|||
}
|
||||
|
||||
get hasRelatedApps () {
|
||||
return false
|
||||
return Array.isArray( this.api.appLinks ) && this.api.appLinks.length > 0
|
||||
}
|
||||
|
||||
get hasBenchmarksPage () {
|
||||
|
|
@ -143,7 +143,7 @@ export class ListingDetails {
|
|||
|
||||
get initialVideo () {
|
||||
if ( this.type === 'video' ) {
|
||||
return this.api.video
|
||||
return this.api
|
||||
}
|
||||
|
||||
if ( this.hasRelatedVideos ) {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue