mirror of
https://github.com/ThatGuySam/doesitarm.git
synced 2026-05-18 06:44:46 -07:00
Search issues when requesting app
This commit is contained in:
parent
dad8f955d4
commit
a2c29bc549
3 changed files with 18 additions and 3 deletions
|
|
@ -230,6 +230,8 @@ export default {
|
|||
// Snap results scroll position back to top
|
||||
this.$refs['search-container'].scrollTop = 0
|
||||
|
||||
this.$emit('update:query', rawQuery)
|
||||
|
||||
|
||||
// If our query is empty
|
||||
// then bail
|
||||
|
|
|
|||
|
|
@ -8,10 +8,12 @@
|
|||
Apps that are reported to support Apple Silicon
|
||||
</h2>
|
||||
|
||||
<Search />
|
||||
<Search
|
||||
@update:query="query = $event"
|
||||
/>
|
||||
|
||||
<LinkButton
|
||||
href="https://github.com/ThatGuySam/doesitarm/issues"
|
||||
:href="`https://github.com/ThatGuySam/doesitarm/issues?q=is%3Aissue+${this.query}`"
|
||||
>
|
||||
Request an App
|
||||
</LinkButton>
|
||||
|
|
@ -30,6 +32,11 @@ export default {
|
|||
Search,
|
||||
LinkButton
|
||||
},
|
||||
data: function () {
|
||||
return {
|
||||
query: ''
|
||||
}
|
||||
},
|
||||
computed: {
|
||||
appList() {
|
||||
return appList
|
||||
|
|
|
|||
|
|
@ -14,10 +14,11 @@
|
|||
<Search
|
||||
:app-list="sectionAppList"
|
||||
:quick-buttons="[]"
|
||||
@update:query="query = $event"
|
||||
/>
|
||||
|
||||
<LinkButton
|
||||
href="https://github.com/ThatGuySam/doesitarm/issues"
|
||||
:href="`https://github.com/ThatGuySam/doesitarm/issues?q=is%3Aissue+${this.query}`"
|
||||
>
|
||||
Request an App
|
||||
</LinkButton>
|
||||
|
|
@ -43,6 +44,11 @@ export default {
|
|||
Search,
|
||||
LinkButton
|
||||
},
|
||||
data: function () {
|
||||
return {
|
||||
query: ''
|
||||
}
|
||||
},
|
||||
computed: {
|
||||
section () {
|
||||
return appList.find(app => {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue