mirror of
https://github.com/ThatGuySam/doesitarm.git
synced 2026-05-18 06:44:46 -07:00
Filter out uneeded app data on index page
This commit is contained in:
parent
be8613b927
commit
ea17b014af
1 changed files with 12 additions and 1 deletions
|
|
@ -58,7 +58,18 @@ export default {
|
||||||
const { allList } = await import('~/helpers/get-list.js')
|
const { allList } = await import('~/helpers/get-list.js')
|
||||||
|
|
||||||
return {
|
return {
|
||||||
allList
|
// Filter app list to leave out data not needed for search
|
||||||
|
allList: allList.map( app => {
|
||||||
|
return {
|
||||||
|
name: app.name,
|
||||||
|
status: app.status,
|
||||||
|
slug: app.slug,
|
||||||
|
endpoint: app.endpoint,
|
||||||
|
text: app.text,
|
||||||
|
lastUpdated: app.lastUpdated,
|
||||||
|
category: app.category,
|
||||||
|
}
|
||||||
|
})
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
components: {
|
components: {
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue