mirror of
https://github.com/advplyr/audiobookshelf.git
synced 2025-12-19 10:19:37 +00:00
Update providers users to fetch providers on demand
This commit is contained in:
parent
166e0442a0
commit
538a5065a4
7 changed files with 52 additions and 20 deletions
|
|
@ -438,6 +438,8 @@ export default {
|
|||
mounted() {
|
||||
// Setup socket listeners when component is mounted
|
||||
this.addSocketListeners()
|
||||
// Fetch providers if not already loaded
|
||||
this.$store.dispatch('scanners/fetchProviders')
|
||||
},
|
||||
beforeDestroy() {
|
||||
// Cancel any ongoing search when component is destroyed
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue