From 13e36c3bc89715c670aab1585373cb2000ede5a1 Mon Sep 17 00:00:00 2001 From: Sam Carlton Date: Fri, 10 Jun 2022 17:07:26 -0500 Subject: [PATCH] Add isGame getter --- helpers/listing-page.js | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/helpers/listing-page.js b/helpers/listing-page.js index 52c5e7d..cba0e2e 100644 --- a/helpers/listing-page.js +++ b/helpers/listing-page.js @@ -93,6 +93,10 @@ export class ListingDetails { type = '' + get isGame () { + return this.type === 'game' + } + isListingDetails = true get mainHeading () {