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
|
// Snap results scroll position back to top
|
||||||
this.$refs['search-container'].scrollTop = 0
|
this.$refs['search-container'].scrollTop = 0
|
||||||
|
|
||||||
|
this.$emit('update:query', rawQuery)
|
||||||
|
|
||||||
|
|
||||||
// If our query is empty
|
// If our query is empty
|
||||||
// then bail
|
// then bail
|
||||||
|
|
|
||||||
|
|
@ -8,10 +8,12 @@
|
||||||
Apps that are reported to support Apple Silicon
|
Apps that are reported to support Apple Silicon
|
||||||
</h2>
|
</h2>
|
||||||
|
|
||||||
<Search />
|
<Search
|
||||||
|
@update:query="query = $event"
|
||||||
|
/>
|
||||||
|
|
||||||
<LinkButton
|
<LinkButton
|
||||||
href="https://github.com/ThatGuySam/doesitarm/issues"
|
:href="`https://github.com/ThatGuySam/doesitarm/issues?q=is%3Aissue+${this.query}`"
|
||||||
>
|
>
|
||||||
Request an App
|
Request an App
|
||||||
</LinkButton>
|
</LinkButton>
|
||||||
|
|
@ -30,6 +32,11 @@ export default {
|
||||||
Search,
|
Search,
|
||||||
LinkButton
|
LinkButton
|
||||||
},
|
},
|
||||||
|
data: function () {
|
||||||
|
return {
|
||||||
|
query: ''
|
||||||
|
}
|
||||||
|
},
|
||||||
computed: {
|
computed: {
|
||||||
appList() {
|
appList() {
|
||||||
return appList
|
return appList
|
||||||
|
|
|
||||||
|
|
@ -14,10 +14,11 @@
|
||||||
<Search
|
<Search
|
||||||
:app-list="sectionAppList"
|
:app-list="sectionAppList"
|
||||||
:quick-buttons="[]"
|
:quick-buttons="[]"
|
||||||
|
@update:query="query = $event"
|
||||||
/>
|
/>
|
||||||
|
|
||||||
<LinkButton
|
<LinkButton
|
||||||
href="https://github.com/ThatGuySam/doesitarm/issues"
|
:href="`https://github.com/ThatGuySam/doesitarm/issues?q=is%3Aissue+${this.query}`"
|
||||||
>
|
>
|
||||||
Request an App
|
Request an App
|
||||||
</LinkButton>
|
</LinkButton>
|
||||||
|
|
@ -43,6 +44,11 @@ export default {
|
||||||
Search,
|
Search,
|
||||||
LinkButton
|
LinkButton
|
||||||
},
|
},
|
||||||
|
data: function () {
|
||||||
|
return {
|
||||||
|
query: ''
|
||||||
|
}
|
||||||
|
},
|
||||||
computed: {
|
computed: {
|
||||||
section () {
|
section () {
|
||||||
return appList.find(app => {
|
return appList.find(app => {
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue