Add quick buttons to category pages

This commit is contained in:
Sam Carlton 2020-12-02 13:19:24 -06:00
parent 96c1a3a6ae
commit e726787396

View file

@ -14,7 +14,7 @@
<Search <Search
:app-list="categoryAppList" :app-list="categoryAppList"
:quick-buttons="[]" :quick-buttons="quickButtons"
@update:query="query = $event" @update:query="query = $event"
/> />
@ -83,7 +83,21 @@ export default {
}, },
data: function () { data: function () {
return { return {
query: '' query: '',
quickButtons: [
{
label: '✅ Full Native Support',
query: 'status:native'
},
{
label: '✳️ Rosetta',
query: 'status:rosetta'
},
{
label: '🚫 Unsupported',
query: 'status:no'
},
]
} }
}, },
computed: { computed: {