Update providers users to fetch providers on demand

This commit is contained in:
mikiher 2025-10-19 18:57:27 +03:00
parent 166e0442a0
commit 538a5065a4
7 changed files with 52 additions and 20 deletions

View file

@ -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