[web] Fix folder page not reloading data

This commit is contained in:
Alain Nussbaumer 2024-04-01 16:32:47 +02:00
parent be931f4173
commit d49074eeae

View File

@ -83,6 +83,13 @@ export default {
})
},
beforeRouteUpdate(to, from, next) {
dataObject.load(to).then((response) => {
dataObject.set(this, response)
next()
})
},
data() {
return {
dirs: [],