mirror of
https://github.com/owntone/owntone-server.git
synced 2025-04-01 18:21:31 -04:00
[web] Fix folder page not reloading data
This commit is contained in:
parent
be931f4173
commit
d49074eeae
@ -83,6 +83,13 @@ export default {
|
|||||||
})
|
})
|
||||||
},
|
},
|
||||||
|
|
||||||
|
beforeRouteUpdate(to, from, next) {
|
||||||
|
dataObject.load(to).then((response) => {
|
||||||
|
dataObject.set(this, response)
|
||||||
|
next()
|
||||||
|
})
|
||||||
|
},
|
||||||
|
|
||||||
data() {
|
data() {
|
||||||
return {
|
return {
|
||||||
dirs: [],
|
dirs: [],
|
||||||
|
Loading…
x
Reference in New Issue
Block a user