Skip to content

Commit

Permalink
fix: torrent search on enter #149
Browse files Browse the repository at this point in the history
  • Loading branch information
WDaan committed Feb 9, 2021
1 parent 90d6325 commit 51fbec1
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions src/components/Modals/SearchModal/SearchModal.vue
Expand Up @@ -24,7 +24,7 @@
:rules="[v => !!v || 'Searchterm is required']"
clearable
style="width: 70%"
@keypress.enter="$refs.searchButton.click"
@keydown.enter="$refs.searchButton.click"
/>
<v-spacer />
<v-btn
Expand Down Expand Up @@ -123,7 +123,7 @@ export default {
computed: {
...mapGetters(['getSearchPlugins']),
dialogWidth() {
return this.phoneLayout ? '100%' : '60%'
return this.phoneLayout ? '100%' : '70%'
},
enabledSearchPlugins() {
return this.getSearchPlugins().filter(p => p.enabled)
Expand Down Expand Up @@ -157,7 +157,7 @@ export default {
async getStatus() {
if (this.search.id) {
const data = await qbit.getSearchStatus(this.search.id)
return (this.search.status = data[0].status)
}
},
Expand Down

0 comments on commit 51fbec1

Please sign in to comment.