mirror of
https://github.com/owntone/owntone-server.git
synced 2024-12-26 23:25:56 -05: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() {
|
||||
return {
|
||||
dirs: [],
|
||||
|
Loading…
Reference in New Issue
Block a user