Add:Scanner set default cover provider #291

This commit is contained in:
advplyr 2022-01-08 17:03:33 -06:00
parent 2c29a273f3
commit 1be0ff7654
5 changed files with 69 additions and 46 deletions

View file

@ -104,20 +104,6 @@ export default {
searchTitle: null,
searchAuthor: null,
lastSearch: null,
providers: [
{
text: 'Google Books',
value: 'google'
},
{
text: 'Open Library',
value: 'openlibrary'
},
{
text: 'Audible',
value: 'audible'
}
],
provider: 'google',
searchResults: [],
hasSearched: false,
@ -156,6 +142,9 @@ export default {
},
bookCoverAspectRatio() {
return this.$store.getters['getBookCoverAspectRatio']
},
providers() {
return this.$store.state.scanners.providers
}
},
methods: {