mirror of
https://github.com/ThatGuySam/doesitarm.git
synced 2026-05-18 06:44:46 -07:00
Use hasStory helper on story pages
This commit is contained in:
parent
f7968acbb6
commit
492651ed18
1 changed files with 3 additions and 3 deletions
|
|
@ -2,7 +2,7 @@ import dotenv from 'dotenv'
|
|||
|
||||
import config from '../nuxt.config.js'
|
||||
|
||||
import { getAppType } from '../helpers/app-derived.js'
|
||||
import { hasStory } from '../helpers/app-derived.js'
|
||||
import { makeLastUpdatedFriendly } from '../helpers/parse-date'
|
||||
|
||||
|
||||
|
|
@ -36,9 +36,9 @@ export class Story {
|
|||
|
||||
before: function( data ) {
|
||||
return data.filter( entry => {
|
||||
const appType = getAppType( entry.payload.app )
|
||||
// const appType = getAppType( entry.payload.app )
|
||||
|
||||
return appType === 'app' && entry.payload.app.text.includes('✅')
|
||||
return hasStory ( entry.payload.app )
|
||||
})
|
||||
}
|
||||
},
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue