From d49074eeaeb97751d56da30201ae28107da4732b Mon Sep 17 00:00:00 2001 From: Alain Nussbaumer Date: Mon, 1 Apr 2024 16:32:47 +0200 Subject: [PATCH] [web] Fix folder page not reloading data --- web-src/src/pages/PageFiles.vue | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/web-src/src/pages/PageFiles.vue b/web-src/src/pages/PageFiles.vue index 4b5e0ad7..19978f66 100644 --- a/web-src/src/pages/PageFiles.vue +++ b/web-src/src/pages/PageFiles.vue @@ -83,6 +83,13 @@ export default { }) }, + beforeRouteUpdate(to, from, next) { + dataObject.load(to).then((response) => { + dataObject.set(this, response) + next() + }) + }, + data() { return { dirs: [],