mirror of
https://github.com/ThatGuySam/doesitarm.git
synced 2026-05-15 06:35:20 -07:00
Use title for video main heading
This commit is contained in:
parent
428ecb3e43
commit
d9610b18f8
2 changed files with 6 additions and 1 deletions
|
|
@ -96,6 +96,11 @@ export class ListingDetails {
|
|||
isListingDetails = true
|
||||
|
||||
get mainHeading () {
|
||||
// Use the video title for videos
|
||||
if ( this.type === 'video' ) {
|
||||
return this.api.name
|
||||
}
|
||||
|
||||
if ( this.type === 'formula' ) {
|
||||
return `Does <code>${ this.api.name }</code> work on Apple Silicon when installed via Homebrew?`
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue