Skip to content

Commit

Permalink
[web] Fix folder page not reloading data
Browse files Browse the repository at this point in the history
  • Loading branch information
hacketiwack committed Apr 1, 2024
1 parent be931f4 commit d49074e
Showing 1 changed file with 7 additions and 0 deletions.
7 changes: 7 additions & 0 deletions web-src/src/pages/PageFiles.vue
Original file line number Diff line number Diff line change
Expand Up @@ -83,6 +83,13 @@ export default {
})
},
beforeRouteUpdate(to, from, next) {
dataObject.load(to).then((response) => {
dataObject.set(this, response)
next()
})
},
data() {
return {
dirs: [],
Expand Down

0 comments on commit d49074e

Please sign in to comment.