From 72b30aabf9720fc25d567e2fd840589fb68be06f Mon Sep 17 00:00:00 2001 From: Alain Nussbaumer Date: Mon, 1 Apr 2024 20:40:08 +0200 Subject: [PATCH] [web] Fix a bug preventing playlist page to open sub folders --- web-src/src/pages/PagePlaylistFolder.vue | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/web-src/src/pages/PagePlaylistFolder.vue b/web-src/src/pages/PagePlaylistFolder.vue index bb77282a..e2f55a5f 100644 --- a/web-src/src/pages/PagePlaylistFolder.vue +++ b/web-src/src/pages/PagePlaylistFolder.vue @@ -50,6 +50,13 @@ export default { }) }, + beforeRouteUpdate(to, from, next) { + dataObject.load(to).then((response) => { + dataObject.set(this, response) + next() + }) + }, + data() { return { playlist: {},