mirror of
https://github.com/ThatGuySam/doesitarm.git
synced 2026-05-18 06:44:46 -07:00
Add quick buttons to category pages
This commit is contained in:
parent
96c1a3a6ae
commit
e726787396
1 changed files with 16 additions and 2 deletions
|
|
@ -14,7 +14,7 @@
|
|||
|
||||
<Search
|
||||
:app-list="categoryAppList"
|
||||
:quick-buttons="[]"
|
||||
:quick-buttons="quickButtons"
|
||||
@update:query="query = $event"
|
||||
/>
|
||||
|
||||
|
|
@ -83,7 +83,21 @@ export default {
|
|||
},
|
||||
data: function () {
|
||||
return {
|
||||
query: ''
|
||||
query: '',
|
||||
quickButtons: [
|
||||
{
|
||||
label: '✅ Full Native Support',
|
||||
query: 'status:native'
|
||||
},
|
||||
{
|
||||
label: '✳️ Rosetta',
|
||||
query: 'status:rosetta'
|
||||
},
|
||||
{
|
||||
label: '🚫 Unsupported',
|
||||
query: 'status:no'
|
||||
},
|
||||
]
|
||||
}
|
||||
},
|
||||
computed: {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue