diff --git a/web/index.js b/web/index.js index 65041fd..ae3bf5c 100644 --- a/web/index.js +++ b/web/index.js @@ -58,6 +58,13 @@ const component_search_folders = { `, + mounted() { + if (this.$route.query.folder_id) { + this.folder.id = parseInt(this.$route.query.folder_id) + this.folder.foldername = this.$route.query.foldername + this.get_files_in_folder() + } + }, methods: { folder_last_page() { this.folder_offset = this.folder_offset - this.folder_limit @@ -258,8 +265,8 @@ const component_file = { props: ['file'], emits: ['play_audio'], template: ` -